/* style/fishing-games.css */
/* Base styles and variables */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main, #F2FFF6); /* Default text color from custom palette */
    background-color: var(--background, #08160F); /* Default background color from custom palette */
}

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

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    max-height: 675px; /* Limit hero image height */
    object-fit: cover;
    margin-bottom: 30px; /* Space between image and content */
    border-radius: 10px;
}

.page-fishing-games__hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
}

.page-fishing-games__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-main, #F2FFF6);
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow effect */
}

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

.page-fishing-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
    max-width: 100%; /* Ensure buttons don't overflow */
    box-sizing: border-box;
    text-align: center;
}

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

.page-fishing-games__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
}

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

.page-fishing-games__btn-secondary:hover {
    background: var(--deep-green, #0A4B2C);
    color: var(--glow, #57E38D);
    border-color: var(--glow, #57E38D);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__intro-section,
.page-fishing-games__features-section,
.page-fishing-games__guide-section,
.page-fishing-games__promotions-section,
.page-fishing-games__why-choose-section,
.page-fishing-games__faq-section {
    padding: 80px 20px;
    position: relative;
    z-index: 1;
}

.page-fishing-games__dark-section {
    background-color: var(--card-bg, #11271B); /* Darker background for contrast */
    color: var(--text-main, #F2FFF6);
}

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

.page-fishing-games__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-main, #F2FFF6);
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-fishing-games__highlight {
    color: var(--glow, #57E38D);
    font-weight: 700;
}

.page-fishing-games__text-block {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: var(--text-secondary, #A7D9B8);
}

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

.page-fishing-games__feature-card,
.page-fishing-games__promo-card {
    background-color: var(--card-bg, #11271B);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-fishing-games__feature-card:hover,
.page-fishing-games__promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure image is block level */
}

.page-fishing-games__card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-main, #F2FFF6);
}

.page-fishing-games__card-text {
    font-size: 0.95rem;
    color: var(--text-secondary, #A7D9B8);
}

/* Guide Section */
.page-fishing-games__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.page-fishing-games__guide-item {
    background-color: var(--deep-green, #0A4B2C); /* Use deep green for guide items */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: var(--text-main, #F2FFF6);
}

.page-fishing-games__guide-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--glow, #57E38D); /* Highlight title with glow color */
}

.page-fishing-games__cta-buttons--center {
    margin-top: 40px;
    text-align: center;
}

/* Why Choose Section */
.page-fishing-games__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-fishing-games__benefit-item {
    background-color: var(--deep-green, #0A4B2C);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: var(--text-main, #F2FFF6);
}

.page-fishing-games__benefit-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--gold, #F2C14E); /* Use gold for benefit titles */
}

/* FAQ Section */
.page-fishing-games__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-fishing-games__faq-item {
    background-color: var(--card-bg, #11271B);
    border: 1px solid var(--divider, #1E3A2A);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main, #F2FFF6);
    cursor: pointer;
    background-color: var(--deep-green, #0A4B2C);
    border-bottom: 1px solid transparent; /* default */
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    background-color: var(--primary-color, #11A84E);
}

.page-fishing-games__faq-item[open] > .page-fishing-games__faq-question {
    border-bottom-color: var(--divider, #1E3A2A);
}

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

.page-fishing-games__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--glow, #57E38D);
}

/* Hide default details marker */
.page-fishing-games__faq-item > summary {
    list-style: none;
}
.page-fishing-games__faq-item > summary::-webkit-details-marker {
    display: none;
}

.page-fishing-games__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: var(--text-secondary, #A7D9B8);
    background-color: var(--card-bg, #11271B);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-fishing-games__hero-image {
        max-height: 500px;
    }
}

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

    .page-fishing-games__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

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

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

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .page-fishing-games__intro-section,
    .page-fishing-games__features-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__why-choose-section,
    .page-fishing-games__faq-section {
        padding: 40px 15px;
    }

    .page-fishing-games__section-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
        margin-bottom: 40px;
    }

    .page-fishing-games__text-block,
    .page-fishing-games__card-text,
    .page-fishing-games__faq-answer p {
        font-size: 0.95rem;
    }

    .page-fishing-games__feature-grid,
    .page-fishing-games__promo-grid,
    .page-fishing-games__guide-steps,
    .page-fishing-games__benefits-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-fishing-games__card-image {
        height: 180px;
    }

    /* Mobile image responsiveness */
    .page-fishing-games img {
        max-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__intro-section,
    .page-fishing-games__features-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__why-choose-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__guide-item,
    .page-fishing-games__benefit-item,
    .page-fishing-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__hero-section {
        padding-top: 10px !important;
    }
    .page-fishing-games__video-section { /* Added for general video section rule, though not directly used on this page */
        padding-top: 10px !important; 
    }
    .page-fishing-games__cta-buttons--center {
        padding-left: 0;
        padding-right: 0;
    }
}