/* style/fishing-games.css */

/* Custom Colors */
:root {
    --page-fishing-games-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-fishing-games-card-bg: #11271B;
    --page-fishing-games-background: #08160F;
    --page-fishing-games-text-main: #F2FFF6;
    --page-fishing-games-text-secondary: #A7D9B8;
    --page-fishing-games-border: #2E7A4E;
    --page-fishing-games-glow: #57E38D;
    --page-fishing-games-gold: #F2C14E;
    --page-fishing-games-divider: #1E3A2A;
    --page-fishing-games-deep-green: #0A4B2C;
}

/* Base styles for the page content */
.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text for light body background */
    background-color: var(--page-fishing-games-background); /* Override body for main content sections */
}

/* Sections with dark background */
.page-fishing-games__dark-section {
    background-color: var(--page-fishing-games-background);
    color: var(--page-fishing-games-text-main);
}

/* Sections with light background */
.page-fishing-games__light-bg {
    background-color: #f0f2f5; /* Match body background */
    color: #333333; /* Dark text for light background */
}

/* Container for content */
.page-fishing-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 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;
    text-align: center;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for hero image */
    overflow: hidden;
    position: relative;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-fishing-games__hero-content {
    position: relative; /* Ensure content is above image without absolute positioning */
    z-index: 10;
    padding: 20px;
    max-width: 900px;
    margin-top: 20px;
}

.page-fishing-games__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
    font-weight: bold;
    color: var(--page-fishing-games-text-main);
    margin-bottom: 15px;
    line-height: 1.2;
}

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

.page-fishing-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
    box-sizing: border-box;
    max-width: 100%;
}

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

.page-fishing-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
    background: transparent;
    color: var(--page-fishing-games-text-main); /* Light text for transparent button on dark background */
    border: 2px solid var(--page-fishing-games-border);
}

.page-fishing-games__btn-secondary:hover {
    background: var(--page-fishing-games-border);
    color: #ffffff;
}

/* Section Titles */
.page-fishing-games__section-title {
    font-size: clamp(1.8em, 3vw, 2.8em); /* Responsive font size */
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: inherit; /* Inherit color from parent section */
}

.page-fishing-games__text-block {
    margin-bottom: 20px;
    font-size: 1.05em;
    color: inherit;
}

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

.page-fishing-games__grid-item {
    background-color: var(--page-fishing-games-card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: var(--page-fishing-games-text-main);
}

.page-fishing-games__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-fishing-games__card {
    background-color: #ffffff; /* White background for cards on light sections */
    color: #333333; /* Dark text for cards on light sections */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--page-fishing-games-border);
}

.page-fishing-games__promo-card {
    background-color: #ffffff;
    color: #333333;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--page-fishing-games-border);
}

.page-fishing-games__game-image,
.page-fishing-games__promo-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-fishing-games__card-title a:hover {
    text-decoration: underline;
}

.page-fishing-games__card-text {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-fishing-games__card-button {
    margin-top: auto; /* Push button to bottom */
}

/* Strategy List */
.page-fishing-games__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-fishing-games__strategy-item {
    background-color: var(--page-fishing-games-card-bg);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    color: var(--page-fishing-games-text-main);
}

.page-fishing-games__strategy-item .page-fishing-games__item-title {
    color: var(--page-fishing-games-gold);
    font-size: 1.3em;
    margin-top: 0;
}

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

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

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

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

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

.page-fishing-games__faq-qtext {
    flex-grow: 1;
}

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    content: '−';
}

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

/* Details element specific styles */
details > summary {
    list-style: none;
}
details > summary::-webkit-details-marker {
    display: none;
}

/* Final CTA Section */
.page-fishing-games__cta-final {
    text-align: center;
    padding: 60px 20px;
}

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

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

    .page-fishing-games__hero-content {
        margin-top: 10px;
    }

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

    .page-fishing-games__description {
        font-size: 1em;
    }

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

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

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

    .page-fishing-games__grid {
        grid-template-columns: 1fr;
    }

    .page-fishing-games__game-list,
    .page-fishing-games__promo-list {
        grid-template-columns: 1fr;
    }

    .page-fishing-games img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__grid-item,
    .page-fishing-games__game-card,
    .page-fishing-games__promo-card,
    .page-fishing-games__strategy-item,
    .page-fishing-games__faq-item,
    .page-fishing-games__cta-final {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-fishing-games__hero-section {
        padding-top: 10px !important;
    }

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

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

@media (max-width: 480px) {
    .page-fishing-games__main-title {
        font-size: 1.8em;
    }

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