/* style/fishing-games.css */

/* Variables for colors */
:root {
    --vclub-primary: #11A84E; /* Main color */
    --vclub-secondary: #22C768; /* Auxiliary color */
    --vclub-button-gradient-start: #2AD16F;
    --vclub-button-gradient-end: #13994A;
    --vclub-card-bg: #11271B;
    --vclub-background: #08160F;
    --vclub-text-main: #F2FFF6;
    --vclub-text-secondary: #A7D9B8;
    --vclub-border: #2E7A4E;
    --vclub-glow: #57E38D;
    --vclub-gold: #F2C14E;
    --vclub-divider: #1E3A2A;
    --vclub-deep-green: #0A4B2C;
    --text-dark: #333333;
    --text-light: #ffffff;
    --body-bg-light: #ffffff; /* Assuming a light background for general content areas */
}

/* General page styling */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--vclub-text-main); /* Default text color on dark sections */
    background-color: var(--vclub-background); /* Main background color */
}

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

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

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px; /* Limit hero image height for better mobile experience */
}

.page-fishing-games__hero-content {
    position: relative; /* Not absolutely positioned over the image */
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -100px; /* Pull content up slightly over the bottom of the image */
    background: linear-gradient(to top, var(--vclub-background) 0%, rgba(8, 22, 15, 0.8) 70%, rgba(8, 22, 15, 0) 100%);
    z-index: 1;
}

.page-fishing-games__main-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem); /* Responsive font size */
    color: var(--vclub-gold);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-fishing-games__hero-description {
    font-size: 1.1rem;
    color: var(--vclub-text-main);
    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; /* Allow wrapping on small screens */
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-link {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    max-width: 100%; /* Ensure buttons don't overflow */
}

.page-fishing-games__btn-primary {
    background: var(--vclub-button-gradient-start); /* Fallback */
    background: linear-gradient(180deg, var(--vclub-button-gradient-start) 0%, var(--vclub-button-gradient-end) 100%);
    color: var(--text-light);
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: var(--vclub-text-main);
    border: 2px solid var(--vclub-border);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-secondary:hover {
    background-color: var(--vclub-border);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-center {
    display: block;
    margin: 40px auto 20px auto;
    max-width: 300px;
}

/* Section Titles */
.page-fishing-games__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--vclub-gold);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

/* General Section Styling */
.page-fishing-games__introduction-section,
.page-fishing-games__popular-games-section,
.page-fishing-games__promotions-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__faq-section {
    padding: 60px 0;
    background-color: var(--vclub-background);
}

.page-fishing-games__why-vclub-section,
.page-fishing-games__tips-tricks-section,
.page-fishing-games__cta-section {
    padding: 60px 0;
    background-color: var(--vclub-card-bg); /* Darker background for contrast */
}

.page-fishing-games__image-full {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin: 40px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

/* Feature List */
.page-fishing-games__feature-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-fishing-games__feature-item {
    background-color: var(--vclub-background); /* Card BG on dark section */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--vclub-divider);
}

.page-fishing-games__feature-title {
    font-size: 1.5rem;
    color: var(--vclub-gold);
    margin-bottom: 15px;
    font-weight: bold;
}

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

.page-fishing-games__game-card,
.page-fishing-games__promo-card {
    background-color: var(--vclub-card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    border: 1px solid var(--vclub-divider);
    display: flex;
    flex-direction: column;
}

.page-fishing-games__game-image,
.page-fishing-games__promo-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--vclub-divider);
}

.page-fishing-games__game-title,
.page-fishing-games__promo-title {
    font-size: 1.4rem;
    color: var(--vclub-gold);
    margin: 20px 15px 10px 15px;
    font-weight: bold;
}

.page-fishing-games__game-description,
.page-fishing-games__promo-description {
    font-size: 0.95rem;
    color: var(--vclub-text-secondary);
    padding: 0 15px;
    flex-grow: 1; /* Make description take available space */
}

.page-fishing-games__game-card .page-fishing-games__btn-link,
.page-fishing-games__promo-card .page-fishing-games__btn-link {
    background-color: var(--vclub-primary);
    color: var(--text-light);
    padding: 10px 20px;
    margin: 20px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    align-self: center; /* Center the button in the card */
    width: calc(100% - 30px); /* Adjust for padding */
    max-width: 200px;
}

.page-fishing-games__game-card .page-fishing-games__btn-link:hover,
.page-fishing-games__promo-card .page-fishing-games__btn-link:hover {
    background-color: var(--vclub-secondary);
}

/* How-to-play Section */
.page-fishing-games__step-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-fishing-games__step-item {
    background-color: var(--vclub-card-bg);
    border-radius: 10px;
    padding: 25px 30px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border-left: 5px solid var(--vclub-primary);
}

.page-fishing-games__step-title {
    font-size: 1.3rem;
    color: var(--vclub-gold);
    margin-bottom: 10px;
    font-weight: bold;
}

/* Tips & Tricks Section */
.page-fishing-games__grid-2-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__tip-card {
    background-color: var(--vclub-background);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--vclub-divider);
}

.page-fishing-games__tip-title {
    font-size: 1.4rem;
    color: var(--vclub-gold);
    margin-bottom: 15px;
    font-weight: bold;
}

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

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--vclub-gold);
    list-style: none; /* For details/summary */
}

.page-fishing-games__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker */
}

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

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

.page-fishing-games__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    color: var(--vclub-text-secondary);
    line-height: 1.7;
}

/* Highlight text */
.page-fishing-games .highlight {
    color: var(--vclub-gold);
    font-weight: bold;
}

.page-fishing-games__text-center {
    text-align: center;
    margin-top: 30px;
    font-size: 1.1rem;
    color: var(--vclub-text-main);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-content {
        margin-top: -50px; /* Adjust overlap */
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding-bottom: 40px;
    }

    .page-fishing-games__hero-content {
        padding: 30px 15px;
        margin-top: -30px; /* Further adjust overlap */
    }

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

    .page-fishing-games__hero-description {
        font-size: 1rem;
    }

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

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .page-fishing-games__section-title {
        font-size: 2rem;
        margin-bottom: 30px;
        padding-top: 30px;
    }

    .page-fishing-games__introduction-section,
    .page-fishing-games__why-vclub-section,
    .page-fishing-games__popular-games-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__tips-tricks-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-section {
        padding: 40px 0;
    }

    .page-fishing-games__feature-list,
    .page-fishing-games__game-grid,
    .page-fishing-games__promo-grid,
    .page-fishing-games__grid-2-col {
        grid-template-columns: 1fr; /* Stack columns on mobile */
        gap: 20px;
    }

    .page-fishing-games__feature-item,
    .page-fishing-games__game-card,
    .page-fishing-games__promo-card,
    .page-fishing-games__tip-card,
    .page-fishing-games__faq-item {
        padding: 20px;
    }

    .page-fishing-games__game-image,
    .page-fishing-games__promo-image {
        height: 180px; /* Adjust image height for mobile */
    }

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

    .page-fishing-games__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.95rem;
    }

    /* Mobile image adaptation */
    .page-fishing-games img {
        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__hero-section,
    .page-fishing-games__introduction-section,
    .page-fishing-games__why-vclub-section,
    .page-fishing-games__popular-games-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__tips-tricks-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-section,
    .page-fishing-games__cta-buttons,
    .page-fishing-games__game-grid,
    .page-fishing-games__promo-grid,
    .page-fishing-games__grid-2-col {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }

    .page-fishing-games__video-section {
        padding-top: 10px !important; /* body already has header offset */
    }

    /* Mobile button adaptation */
    .page-fishing-games__cta-button,
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games a[class*="button"],
    .page-fishing-games a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .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;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    
    .page-fishing-games__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
    }
}