/* style/fishing-games.css */

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

/* Base styles for the page content, assuming body has --bg-color (dark) */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--vt999-text-main); /* Light text for dark background */
    background-color: var(--vt999-background); /* Ensure consistent dark background */
    line-height: 1.6;
    padding-bottom: 60px; /* Add some padding at the bottom for footer */
}

.page-fishing-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-fishing-games__section-title {
    font-size: 2.8em;
    font-weight: 700;
    color: var(--vt999-gold); /* Use gold for main titles */
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-fishing-games__btn-primary {
    background: var(--vt999-button-gradient);
    color: var(--vt999-text-main); /* White text on green gradient */
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-fishing-games__btn-secondary {
    background: transparent;
    color: var(--vt999-accent-color); /* Green text */
    border: 2px solid var(--vt999-accent-color);
    box-shadow: 0 0 10px rgba(34, 199, 104, 0.3);
}

.page-fishing-games__btn-secondary:hover {
    background: rgba(34, 199, 104, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(34, 199, 104, 0.5);
}

.page-fishing-games__btn-link {
    background: none;
    color: var(--vt999-accent-color);
    border: none;
    padding: 10px 0;
    font-size: 1em;
    font-weight: 600;
}

.page-fishing-games__btn-link:hover {
    text-decoration: underline;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-bottom: 60px; /* Space below content */
    padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    position: relative;
    z-index: 1;
    min-height: 400px; /* Ensure hero image is large enough */
    max-height: 675px; /* Cap height for responsiveness */
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 40px 20px;
    background: rgba(8, 22, 15, 0.8); /* Semi-transparent background for readability */
    border-radius: 12px;
    margin-top: -80px; /* Overlap slightly with image for visual flow */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--vt999-border);
}

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

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

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

/* Section Styling */
.page-fishing-games__about-section,
.page-fishing-games__features-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-section {
    padding: 80px 0;
    position: relative;
}

.page-fishing-games__dark-section {
    background-color: var(--vt999-deep-green);
    color: var(--vt999-text-main);
}

.page-fishing-games__image-content {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    margin: 40px auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    min-height: 200px;
}

/* Features Grid */
.page-fishing-games__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-fishing-games__feature-card {
    background: var(--vt999-card-bg);
    border: 1px solid var(--vt999-border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__feature-image {
    width: 100%;
    max-width: 400px; /* Card image max-width */
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    min-width: 200px;
    min-height: 200px;
}

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

.page-fishing-games__feature-description {
    color: var(--vt999-text-secondary);
    font-size: 1em;
}

/* How to Play */
.page-fishing-games__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.page-fishing-games__step-item {
    background: var(--vt999-card-bg);
    border: 1px solid var(--vt999-border);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__step-title {
    font-size: 1.6em;
    color: var(--vt999-gold);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-fishing-games__step-description {
    color: var(--vt999-text-secondary);
    font-size: 1em;
}

/* Promotions */
.page-fishing-games__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-fishing-games__promo-card {
    background: var(--vt999-card-bg);
    border: 1px solid var(--vt999-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-fishing-games__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__promo-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 200px;
    min-width: 200px;
}

.page-fishing-games__promo-card h3 {
    padding: 20px 25px 10px;
    font-size: 1.4em;
    color: var(--vt999-gold);
    font-weight: 700;
}

.page-fishing-games__promo-card h3 a {
    color: inherit;
    text-decoration: none;
}

.page-fishing-games__promo-card h3 a:hover {
    text-decoration: underline;
}

.page-fishing-games__promo-text {
    padding: 0 25px 20px;
    color: var(--vt999-text-secondary);
    flex-grow: 1;
}

.page-fishing-games__promo-card .page-fishing-games__btn-link {
    margin: 0 25px 25px;
    align-self: flex-start;
}

.page-fishing-games__view-all-promotions {
    text-align: center;
    margin-top: 50px;
}

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

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

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

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

.page-fishing-games__faq-item summary:hover {
    background-color: rgba(46, 122, 78, 0.2); /* Lighter hover for dark background */
}

.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(--vt999-gold);
}

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

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

/* CTA Section */
.page-fishing-games__cta-section {
    text-align: center;
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: var(--vt999-deep-green);
}

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

.page-fishing-games__cta-section .page-fishing-games__section-description {
    color: var(--vt999-text-secondary);
}

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

/* Ensure all content images are responsive and not too small */
.page-fishing-games img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Ensures images fill their space without distortion */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-fishing-games__section-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-fishing-games__hero-section {
        padding-bottom: 40px;
    }
    .page-fishing-games__hero-content {
        margin-top: -60px;
        padding: 30px 15px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.8em, 6vw, 2.8em);
    }
    .page-fishing-games__intro-text {
        font-size: 1em;
    }
    .page-fishing-games__section-title {
        font-size: 2em;
        margin-bottom: 25px;
    }
    .page-fishing-games__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games__btn-link {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-fishing-games__about-section,
    .page-fishing-games__features-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-section {
        padding: 60px 0;
    }
    .page-fishing-games__features-grid,
    .page-fishing-games__steps-list,
    .page-fishing-games__promotions-grid {
        gap: 20px;
        margin-top: 30px;
    }
    .page-fishing-games__feature-card,
    .page-fishing-games__step-item,
    .page-fishing-games__promo-card {
        padding: 20px;
    }
    .page-fishing-games__feature-title,
    .page-fishing-games__step-title {
        font-size: 1.3em;
    }
    .page-fishing-games__promo-card h3 {
        font-size: 1.2em;
        padding: 15px 20px 8px;
    }
    .page-fishing-games__promo-text {
        padding: 0 20px 15px;
    }
    .page-fishing-games__promo-card .page-fishing-games__btn-link {
        margin: 0 20px 20px;
    }
    .page-fishing-games__faq-item summary {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-fishing-games__faq-answer {
        padding: 0 20px 15px;
    }

    /* Mobile image and container responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games__container,
    .page-fishing-games__hero-content,
    .page-fishing-games__features-grid,
    .page-fishing-games__steps-list,
    .page-fishing-games__promotions-grid,
    .page-fishing-games__faq-list,
    .page-fishing-games__cta-buttons {
        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-image {
        min-height: 250px;
        max-height: 400px;
    }
    .page-fishing-games__hero-section {
        padding-top: 10px !important; /* body handles --header-offset, this is decorative */
    }

    /* Ensure content area images are not too small */
    .page-fishing-games__image-content,
    .page-fishing-games__feature-image,
    .page-fishing-games__promo-image {
        min-width: 200px !important;
        min-height: 150px !important; /* Adjusted min-height for smaller screens */
        width: 100% !important;
        height: auto !important;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__section-title {
        font-size: 1.8em;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.6em, 7vw, 2.5em);
    }
    .page-fishing-games__hero-content {
        margin-top: -40px;
        padding: 20px 10px;
    }
    .page-fishing-games__cta-buttons {
        gap: 10px;
    }
    .page-fishing-games__faq-item summary {
        font-size: 1em;
    }
}