/* style/fishing-games.css */

:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --card-bg: #11271B;
    --background-color: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

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

.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 20px; /* Small padding for content */
    padding-top: 10px; /* Small top padding, body handles header offset */
    box-sizing: border-box;
}

.page-fishing-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.6); /* Slightly dim the image for text readability */
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
    border-radius: 10px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.page-fishing-games__main-title {
    font-weight: bold;
    color: var(--gold-color);
    letter-spacing: 1px;
    margin-bottom: 15px;
    max-width: 100%;
    line-height: 1.2;
}

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

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.page-fishing-games__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-fishing-games__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
    background: transparent;
    color: var(--gold-color);
    border: 2px solid var(--gold-color);
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.2);
}

.page-fishing-games__btn-secondary:hover {
    background: var(--gold-color);
    color: var(--background-color);
    transform: translateY(-2px);
}

.page-fishing-games__section {
    padding: 60px 20px;
    text-align: center;
    box-sizing: border-box;
}

.page-fishing-games__dark-bg {
    background-color: var(--background-color);
    color: var(--text-main);
}

.page-fishing-games__light-bg {
    background-color: var(--deep-green);
    color: var(--text-main);
}

.page-fishing-games__container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: var(--gold-color);
    margin-bottom: 40px;
    text-align: center;
    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-color: var(--primary-color);
    border-radius: 2px;
}

.page-fishing-games__sub-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 20px;
}

.page-fishing-games p {
    margin-bottom: 15px;
    color: var(--text-main);
}

.page-fishing-games__image-wrapper {
    margin: 30px 0;
    text-align: center;
}

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

.page-fishing-games__ordered-list,
.page-fishing-games__unordered-list {
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-main);
}

.page-fishing-games__ordered-list li,
.page-fishing-games__unordered-list li {
    margin-bottom: 10px;
}

.page-fishing-games__game-grid,
.page-fishing-games__promo-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);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding-bottom: 20px;
    border: 1px solid var(--border-color);
}

.page-fishing-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid var(--divider-color);
    margin-bottom: 20px;
}

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

.page-fishing-games__card-description {
    font-size: 0.95em;
    color: var(--text-secondary);
    padding: 0 15px;
}

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

.page-fishing-games__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-item:hover {
    background-color: var(--deep-green);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: var(--text-main);
    cursor: pointer;
    list-style: none;
    user-select: none;
}

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

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

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

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

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: 2.2em;
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__sub-title {
        font-size: 1.5em;
    }
    .page-fishing-games__game-grid,
    .page-fishing-games__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-fishing-games__hero-content {
        padding: 30px 15px;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .page-fishing-games__main-title {
        font-size: 1.8em;
    }
    .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 {
        padding: 12px 20px;
        width: 100% !important;
    }
    .page-fishing-games__section {
        padding: 40px 15px;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-fishing-games__sub-title {
        font-size: 1.3em;
    }
    .page-fishing-games__game-grid,
    .page-fishing-games__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-fishing-games__card-image {
        height: 200px;
    }
    .page-fishing-games__card-title {
        font-size: 1.3em;
    }
    .page-fishing-games__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-fishing-games__faq-answer {
        padding: 0 20px 15px;
    }

    /* Mobile image and video responsive adaptation */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games video,
    .page-fishing-games__video {
        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__video-section,
    .page-fishing-games__video-container,
    .page-fishing-games__video-wrapper,
    .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;
        overflow: hidden !important; /* Ensure no horizontal scroll */
    }
    .page-fishing-games__video-section {
        padding-top: 10px !important;
    }
    .page-fishing-games__video-container {
        padding-bottom: 56.25% !important; /* 16:9 aspect ratio */
    }
}

/* Ensure content images meet minimum size requirements */
.page-fishing-games__content-image,
.page-fishing-games__card-image {
    min-width: 200px;
    min-height: 200px;
}

/* Color contrast safety for specific elements */
.page-fishing-games__dark-bg h2,
.page-fishing-games__dark-bg h3 {
    color: var(--gold-color); /* Ensure visibility on dark background */
}

.page-fishing-games__light-bg h2,
.page-fishing-games__light-bg h3 {
    color: var(--primary-color); /* Ensure visibility on lighter green background */
}

.page-fishing-games__card {
    color: var(--text-main); /* Light text on dark card background */
}

.page-fishing-games__btn-primary {
    color: #ffffff;
}

.page-fishing-games__btn-secondary {
    color: var(--gold-color);
}

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

.page-fishing-games__video-container {
    position: relative;
    width: 100%;
    max-width: 900px; /* Example max-width for video */
    margin: 0 auto;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background-color: #000;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

.page-fishing-games__video-container iframe,
.page-fishing-games__video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    cursor: pointer;
}

.page-fishing-games__video-caption {
    color: var(--text-secondary);
    margin-top: 20px;
    font-style: italic;
    text-align: center;
}

.page-fishing-games__video-title {
    font-size: 2em;
    color: var(--gold-color);
    margin-bottom: 20px;
    text-align: center;
}