/* style/fishing-games.css */

/* Custom Colors & Base Styles */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background-color: #08160F; /* This should match the shared.css body background */
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

.page-fishing-games {
    background-color: var(--background-color);
    color: var(--text-main); /* Main text color 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;
    box-sizing: border-box;
}

.page-fishing-games__section-title {
    font-size: clamp(2rem, 3.5vw, 3rem); /* H1 size constraint applied to H2 as well for consistent hierarchy */
    font-weight: 700;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

.page-fishing-games__text-center {
    text-align: center;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above, text below */
    align-items: center;
    padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
    background-color: var(--deep-green); /* A slightly different dark green for the hero section background */
    overflow: hidden; /* Ensure content doesn't spill out */
}

.page-fishing-games__hero-image {
    width: 100%;
    max-width: 100%; /* Ensure it's responsive */
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 30px; /* Space between image and content */
}

.page-fishing-games__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 1; /* Ensure text is above any potential background elements */
}

.page-fishing-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem); /* H1 size constraint */
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.page-fishing-games__hero-description {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Buttons */
.page-fishing-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
    text-align: center;
    box-sizing: border-box;
}

.page-fishing-games__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: none;
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.2);
}

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

.page-fishing-games__btn-secondary {
    background: transparent;
    color: var(--glow-color); /* Use glow color for secondary button text */
    border: 2px solid var(--glow-color);
}

.page-fishing-games__btn-secondary:hover {
    background: rgba(87, 227, 141, 0.1); /* Light transparent glow */
    transform: translateY(-3px);
}

.page-fishing-games__full-width-button {
    width: 100%;
    max-width: 400px; /* Limit width for aesthetic */
    margin: 40px auto 20px auto;
    display: block;
}

.page-fishing-games__large-button {
    padding: 18px 35px;
    font-size: 1.2rem;
    max-width: 500px;
    margin: 40px auto 20px auto;
    display: block;
}

/* Sections */
.page-fishing-games__about-section,
.page-fishing-games__games-section,
.page-fishing-games__guide-section,
.page-fishing-games__promo-section,
.page-fishing-games__security-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-final-section {
    padding: 80px 0;
    position: relative;
    background-color: var(--background-color);
}

.page-fishing-games__dark-section {
    background-color: var(--deep-green); /* Use deep green for sections to add visual variety */
}

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

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

.page-fishing-games__card {
    background-color: var(--card-bg); /* Card background color */
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Ensure cards in a row have same height */
    box-sizing: border-box;
}

.page-fishing-games__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-fishing-games__card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-color); /* Gold for card titles */
    margin-bottom: 10px;
}

.page-fishing-games__card-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-fishing-games__card-button {
    margin-top: auto; /* Push button to the bottom */
    width: auto;
    max-width: 100%;
}

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

.page-fishing-games__guide-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.page-fishing-games__guide-subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.page-fishing-games__guide-item p {
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.page-fishing-games__guide-item ul {
    list-style: disc;
    padding-left: 20px;
    color: var(--text-secondary);
}
.page-fishing-games__guide-item ul li {
    margin-bottom: 5px;
}

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

.page-fishing-games__promo-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-sizing: border-box;
}

.page-fishing-games__promo-card .page-fishing-games__card-title {
    color: var(--glow-color);
}

/* Security Section */
.page-fishing-games__security-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-fishing-games__security-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.page-fishing-games__security-subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.page-fishing-games__security-item p {
    color: var(--text-secondary);
}

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

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

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

.page-fishing-games__faq-question:hover {
    background-color: rgba(var(--primary-color), 0.1);
}

.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(--glow-color);
}

/* Native details/summary styling */
.page-fishing-games__faq-item summary {
    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-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-section {
        padding-bottom: 40px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    .page-fishing-games__hero-description {
        font-size: 1.1rem;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__container {
        padding: 0 15px !important; /* Add side padding for containers */
    }

    .page-fishing-games__hero-section {
        padding-top: 10px !important; /* body handles header offset */
        padding-bottom: 30px;
    }

    .page-fishing-games__hero-image {
        margin-bottom: 20px;
    }

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

    .page-fishing-games__hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games a[class*="button"],
    .page-fishing-games a[class*="btn"] {
        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;
        margin-left: auto;
        margin-right: auto;
    }

    .page-fishing-games__cta-buttons,
    .page-fishing-games__button-group,
    .page-fishing-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-fishing-games__section-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 30px;
    }

    .page-fishing-games__text-block {
        font-size: 1rem;
    }

    .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__game-grid,
    .page-fishing-games__promo-grid,
    .page-fishing-games__security-list,
    .page-fishing-games__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fishing-games__card-image {
        height: auto;
        min-width: 200px;
        min-height: 150px;
    }

    .page-fishing-games__content-image {
        min-width: 200px;
        min-height: 150px;
    }

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

    .page-fishing-games__faq-toggle {
        font-size: 1.5rem;
    }
    
    /* Ensure content area images are at least 200px */
    .page-fishing-games__content-area img,
    .page-fishing-games__game-card img,
    .page-fishing-games__promo-card img,
    .page-fishing-games__guide-item img,
    .page-fishing-games__security-item img {
        min-width: 200px !important;
        min-height: 200px !important;
        width: auto !important; /* Allow width to be determined by max-width: 100% */
        height: auto !important;
    }
}