/* style/fishing-games.css */

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

.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Main text color for the page content */
    background-color: var(--background-color); /* Matches body background */
}

/* General Container for sections */
.page-fishing-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Section Styling */
.page-fishing-games__hero-section,
.page-fishing-games__video-section,
.page-fishing-games__about-section,
.page-fishing-games__games-showcase,
.page-fishing-games__how-to-play,
.page-fishing-games__tips-strategies,
.page-fishing-games__promotions,
.page-fishing-games__faq-section {
    padding: 60px 0;
    text-align: center;
}

.page-fishing-games__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--deep-green-color);
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Adjust as needed for specific layout */
    margin-bottom: 30px;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
    filter: none;
}

.page-fishing-games__hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-fishing-games__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive H1 font size */
    font-weight: 700;
    line-height: 1.2;
    color: var(--gold-color);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.page-fishing-games__hero-description {
    font-size: 1.1em;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.page-fishing-games__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.3); /* Glow */
}

.page-fishing-games__section-description {
    font-size: 1.1em;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-fishing-games__cta-buttons--centered {
    margin-top: 40px;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons adapt to screen width */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-fishing-games__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main); /* White text for dark button */
    border: 2px solid var(--glow-color);
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
    transform: translateY(-2px);
}

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

.page-fishing-games__btn-secondary:hover {
    background: rgba(87, 227, 141, 0.1);
    color: var(--text-main);
    transform: translateY(-2px);
}

.page-fishing-games__btn-primary--small {
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 20px;
}

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

/* Grid Layout for features */
.page-fishing-games__grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-fishing-games__grid-item {
    background-color: var(--card-bg); /* Darker card background */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    border: 1px solid var(--border-color);
}

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

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

/* Game Cards */
.page-fishing-games__games-showcase {
    background-color: var(--background-color);
}

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

.page-fishing-games__card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    border: 1px solid var(--border-color);
    text-align: left;
    display: flex;
    flex-direction: column;
}

.page-fishing-games__card-image {
    width: 100%;
    height: 220px; /* Ensure images are not too small */
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
    filter: none;
}

.page-fishing-games__card-title {
    font-size: 1.4em;
    margin: 20px 20px 10px;
    color: var(--gold-color);
}

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

.page-fishing-games__card-title a:hover {
    text-decoration: underline;
    color: var(--glow-color);
}

.page-fishing-games__card-text {
    font-size: 0.95em;
    color: var(--text-secondary);
    padding: 0 20px 20px;
    flex-grow: 1; /* Make text fill space */
}

.page-fishing-games__card--promo .page-fishing-games__btn-primary {
    margin: 0 20px 20px;
    width: auto;
    align-self: flex-start;
}

/* How to Play & Tips */
.page-fishing-games__step-list,
.page-fishing-games__tips-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 40px auto 0;
    text-align: left;
}

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

.page-fishing-games__step-title,
.page-fishing-games__tip-title {
    font-size: 1.3em;
    color: var(--glow-color);
    margin-bottom: 10px;
}

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

.page-fishing-games__step-item a {
    color: var(--gold-color);
    text-decoration: none;
}
.page-fishing-games__step-item a:hover {
    text-decoration: underline;
}

/* Promotions Section */
.page-fishing-games__promotions {
    background-color: var(--deep-green-color);
}

/* FAQ Section */
.page-fishing-games__faq-section {
    background-color: var(--background-color);
}

.page-fishing-games__faq-list {
    max-width: 800px;
    margin: 40px auto 0;
    text-align: left;
}

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    background-color: var(--deep-green-color);
    border-bottom: 1px solid var(--divider-color);
}

.page-fishing-games__faq-question:hover {
    background-color: var(--deep-green-color); /* Keep it subtle */
}

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

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--gold-color);
}

.page-fishing-games__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: var(--text-secondary);
    background-color: var(--card-bg);
}

/* Details element specific styling for FAQ */
.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
    border-bottom-color: transparent;
}
.page-fishing-games__faq-item summary {
    list-style: none; /* Hide default marker */
}
.page-fishing-games__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit */
}

/* Video Section */
.page-fishing-games__video-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--deep-green-color);
    color: var(--text-main);
}

.page-fishing-games__video-container {
    width: 100%;
    max-width: 1000px; /* Max width for video */
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 20px; /* Added padding for mobile responsiveness */
}

.page-fishing-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin-top: 30px;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    width: 100%; /* Desktop: ensure it takes full width of container */
    max-width: 100%;
    box-sizing: border-box;
}

.page-fishing-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block; /* Ensure no extra space below video */
    filter: none;
    min-width: 200px;
    min-height: 200px;
}


/* Responsive Design */
@media (max-width: 768px) {
    .page-fishing-games__container {
        padding: 0 15px;
    }

    .page-fishing-games__hero-section,
    .page-fishing-games__video-section,
    .page-fishing-games__about-section,
    .page-fishing-games__games-showcase,
    .page-fishing-games__how-to-play,
    .page-fishing-games__tips-strategies,
    .page-fishing-games__promotions,
    .page-fishing-games__faq-section {
        padding: 40px 0;
    }

    .page-fishing-games__main-title {
        font-size: clamp(2em, 8vw, 2.8em);
    }

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

    .page-fishing-games__cta-buttons {
        flex-direction: column !important;
        gap: 15px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-fishing-games__feature-image,
    .page-fishing-games__card-image,
    .page-fishing-games__hero-image {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .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 {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Video section specific mobile padding */
    .page-fishing-games__video-section {
        padding-top: 10px !important;
    }

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

    .page-fishing-games__grid-layout,
    .page-fishing-games__game-cards,
    .page-fishing-games__promo-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}