/* style/fishing-games.css */

/* Variables based on custom color palette */
:root {
    --page-bg-color: #08160F;
    --card-bg-color: #11271B;
    --text-main-color: #F2FFF6;
    --text-secondary-color: #A7D9B8;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --button-primary-text-color: #F2FFF6; /* Adjusted for contrast on dark button */
    --button-secondary-text-color: #11A84E;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
    --primary-color: #11A84E; /* Main brand color */
    --secondary-color: #22C768; /* Auxiliary brand color */
}

.page-fishing-games {
    background-color: var(--page-bg-color); /* Matches custom background color */
    color: var(--text-main-color); /* Main text color for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 40px; /* Ensure some space before footer */
}

/* --- Hero Section --- */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image above content */
    align-items: center;
    justify-content: center;
    padding: 10px 20px 40px; /* Small top padding, more bottom padding */
    overflow: hidden;
    color: var(--text-main-color);
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 30px; /* Space between image and text */
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.page-fishing-games__main-title {
    color: var(--text-main-color);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    max-width: 100%; /* Ensure H1 doesn't overflow */
}

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

.page-fishing-games__text-link {
    color: var(--glow-color);
    text-decoration: underline;
}

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

.page-fishing-games__cta-center {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
}

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

.page-fishing-games__btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-secondary {
    background: transparent;
    color: var(--button-secondary-text-color);
    border: 2px solid var(--border-color);
    box-shadow: none;
}

.page-fishing-games__btn-secondary:hover {
    background: rgba(var(--primary-color), 0.1);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.page-fishing-games__btn-small {
    padding: 8px 18px;
    font-size: 0.9em;
}

/* --- Video Section --- */
.page-fishing-games__video-section {
    padding: 10px 20px 40px; /* Small top padding, more bottom padding */
    text-align: center;
    background-color: var(--page-bg-color);
    color: var(--text-main-color);
}

.page-fishing-games__video-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden; /* Ensure video doesn't overflow */
}

.page-fishing-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    background-color: #000; /* Fallback for video area */
}

.page-fishing-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

.page-fishing-games__video-description {
    color: var(--text-secondary-color);
    font-size: 1em;
    max-width: 800px;
    margin: 0 auto;
}

/* --- Content Area --- */
.page-fishing-games__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    color: var(--text-main-color); /* Ensure text is visible on dark background */
}

.page-fishing-games__section-title {
    color: var(--text-main-color);
    font-size: 2.2em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.page-fishing-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--glow-color);
    border-radius: 2px;
}

.page-fishing-games__sub-title {
    color: var(--text-main-color);
    font-size: 1.8em;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-fishing-games p {
    margin-bottom: 1em;
    color: var(--text-secondary-color);
}

.page-fishing-games strong {
    color: var(--text-main-color);
}

.page-fishing-games a {
    color: var(--glow-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* --- Feature List --- */
.page-fishing-games__feature-list,
.page-fishing-games__instruction-list,
.page-fishing-games__strategy-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 40px;
}

.page-fishing-games__list-item {
    background-color: var(--card-bg-color);
    border-left: 5px solid var(--primary-color);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: var(--text-main-color);
}

.page-fishing-games__list-item strong {
    color: var(--glow-color);
}

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

.page-fishing-games__game-card,
.page-fishing-games__promo-card {
    background-color: var(--card-bg-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px; /* Ensure cards have some height */
}

.page-fishing-games__game-image,
.page-fishing-games__promo-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

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

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

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

.page-fishing-games__card-description {
    color: var(--text-secondary-color);
    font-size: 0.95em;
    margin-bottom: 20px;
    flex-grow: 1; /* Push button to bottom */
    padding: 0 15px;
}

/* --- Strategy Block --- */
.page-fishing-games__strategy-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.page-fishing-games__strategy-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: block; /* Ensure it's a block element */
}

.page-fishing-games__strategy-list {
    flex-grow: 1;
    min-width: 300px;
    margin: 0; /* Override default list margin */
}

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

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

.page-fishing-games__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    color: var(--text-main-color);
    list-style: none; /* Remove default marker */
}

.page-fishing-games__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for Webkit browsers */
}

.page-fishing-games__faq-question {
    font-size: 1.1em;
    color: var(--text-main-color);
}

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

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

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

/* --- Final CTA Section --- */
.page-fishing-games__cta-section {
    background-color: var(--deep-green-color); /* Use a darker green from palette */
    padding: 60px 20px;
    text-align: center;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__cta-section .page-fishing-games__section-title {
    color: var(--text-main-color);
}

.page-fishing-games__cta-section .page-fishing-games__section-title::after {
    background: var(--gold-color); /* Gold glow for final CTA */
}

.page-fishing-games__cta-section .page-fishing-games__intro-text {
    color: var(--text-secondary-color);
    max-width: 800px;
    margin: 0 auto 30px;
}

.page-fishing-games__cta-section .page-fishing-games__cta-buttons {
    margin-top: 0; /* Reset margin from general CTA buttons */
}


/* --- Responsive Design --- */
@media (min-width: 769px) {
    .page-fishing-games__hero-section {
        padding: 40px 20px 80px;
    }
    .page-fishing-games__main-title {
        font-size: 3em;
    }
    .page-fishing-games__intro-text {
        font-size: 1.2em;
    }
    .page-fishing-games__game-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .page-fishing-games__promotions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .page-fishing-games__strategy-block {
        flex-wrap: nowrap; /* No wrapping on larger screens */
    }
    .page-fishing-games__strategy-image {
        width: 45%;
    }
    .page-fishing-games__strategy-list {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-fishing-games__hero-section {
        padding: 10px 15px 30px;
    }
    .page-fishing-games__hero-content {
        padding: 0 10px;
    }
    .page-fishing-games__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }
    .page-fishing-games__intro-text {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games__btn-small {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box !important;
    }

    .page-fishing-games__video-section {
        padding: 10px 15px 30px; /* Small top padding, more bottom padding */
    }
    .page-fishing-games__video-container,
    .page-fishing-games__video-wrapper {
        padding-left: 0;
        padding-right: 0;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !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__content-area {
        padding: 30px 15px;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 25px;
    }
    .page-fishing-games__sub-title {
        font-size: 1.5em;
        margin-top: 30px;
        margin-bottom: 15px;
    }
    .page-fishing-games__game-grid,
    .page-fishing-games__promotions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-fishing-games__game-card,
    .page-fishing-games__promo-card {
        min-height: auto;
    }
    .page-fishing-games__strategy-block {
        flex-direction: column;
        gap: 20px;
    }
    .page-fishing-games__strategy-image {
        width: 100%;
        max-width: 100%;
    }
    .page-fishing-games__faq-item {
        margin-bottom: 10px;
    }
    .page-fishing-games__faq-question {
        font-size: 1em;
    }
    .page-fishing-games__faq-item summary {
        padding: 15px;
    }
    .page-fishing-games__faq-answer {
        padding: 0 15px 15px;
    }
    .page-fishing-games__cta-section {
        padding: 40px 15px;
    }

    /* All content images responsive */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    /* All containers with images/videos/buttons responsive */
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__game-grid,
    .page-fishing-games__promotions-grid,
    .page-fishing-games__strategy-block,
    .page-fishing-games__faq-list,
    .page-fishing-games__cta-section,
    .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; /* Prevent horizontal scroll */
    }
    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__video-container {
        padding-left: 0;
        padding-right: 0;
    }
    /* Specific adjustment for video section to not double padding */
    .page-fishing-games__video-section {
        padding-top: 10px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-fishing-games__hero-section {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}