/* style/fishing-games.css */

/* Custom Colors */
:root {
    --page-bg-color: #08160F; /* Background */
    --card-bg-color: #11271B; /* Card BG */
    --text-main-color: #F2FFF6; /* Text Main */
    --text-secondary-color: #A7D9B8; /* Text Secondary */
    --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    --border-color: #2E7A4E; /* Border */
    --glow-color: #57E38D; /* Glow */
    --gold-color: #F2C14E; /* Gold */
    --divider-color: #1E3A2A; /* Divider */
    --deep-green-color: #0A4B2C; /* Deep Green */
}

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

.page-fishing-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box; /* Ensure padding doesn't cause overflow */
}

.page-fishing-games__section-title,
.page-fishing-games__main-title {
    color: var(--text-main-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-fishing-games__section-title {
    font-size: 2.5em; /* Adjusted for desktop, will be responsive */
}

/* H1 font size: No fixed large font-size. Using font-weight, line-height, etc. */
.page-fishing-games__main-title {
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    max-width: 900px; /* Constrain width for better readability */
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(2.2em, 4vw, 3.5em); /* Using clamp for H1 font size */
}

.page-fishing-games__description,
.page-fishing-games__text-block,
.page-fishing-games__feature-description,
.page-fishing-games__game-type-description,
.page-fishing-games__step-description,
.page-fishing-games__promo-description,
.page-fishing-games__banner-description,
.page-fishing-games__faq-answer p {
    color: var(--text-secondary-color);
    font-size: 1.1em;
    margin-bottom: 1em;
}

.page-fishing-games__card {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main-color); /* Light text for dark card background */
}

.page-fishing-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow-color);
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-sizing: border-box; /* Essential for responsive buttons */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    font-size: 1.1em;
}

.page-fishing-games__btn-primary {
    background: var(--btn-gradient);
    color: #ffffff; /* White text for gradient button */
    box-shadow: 0 4px 10px rgba(42, 209, 111, 0.4);
}

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

.page-fishing-games__btn-secondary {
    background-color: transparent;
    border: 2px solid var(--glow-color);
    color: var(--glow-color); /* Glow color text for secondary button */
}

.page-fishing-games__btn-secondary:hover {
    background-color: var(--glow-color);
    color: var(--page-bg-color); /* Dark text on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(87, 227, 141, 0.4);
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    padding: 60px 0;
    padding-top: 10px; /* Small top padding as per instruction */
    overflow: hidden; /* Prevent overflow issues */
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    max-height: 700px;
    object-fit: cover;
    margin-bottom: 40px; /* Space between image and content */
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    display: block; /* Ensure image behaves as a block element */
}

.page-fishing-games__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

/* Intro Section */
.page-fishing-games__intro-section {
    padding: 80px 0;
    background-color: var(--deep-green-color); /* Use deep green for a darker section */
}

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

/* Features Section */
.page-fishing-games__features-section {
    padding: 80px 0;
}

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

.page-fishing-games__feature-item {
    text-align: center;
}

.page-fishing-games__feature-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure image behaves as a block element */
}

.page-fishing-games__feature-title {
    font-size: 1.5em;
    color: var(--text-main-color);
    margin-bottom: 10px;
}

/* Game Types Section */
.page-fishing-games__game-types-section {
    padding: 80px 0;
}

.page-fishing-games__game-type-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__game-type-item {
    text-align: center;
}

.page-fishing-games__game-type-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure image behaves as a block element */
}

.page-fishing-games__game-type-title {
    font-size: 1.5em;
    color: var(--text-main-color);
    margin-bottom: 10px;
}

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

/* Guide Section */
.page-fishing-games__guide-section {
    padding: 80px 0;
}

.page-fishing-games__guide-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-fishing-games__guide-steps {
    flex: 1;
    min-width: 300px;
}

.page-fishing-games__guide-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.page-fishing-games__step-number {
    background-color: var(--glow-color);
    color: var(--page-bg-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2em;
    margin-right: 20px;
    flex-shrink: 0;
}

.page-fishing-games__step-title {
    font-size: 1.4em;
    color: var(--text-main-color);
    margin-top: 0;
    margin-bottom: 5px;
}

.page-fishing-games__guide-image {
    flex: 1;
    min-width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    display: block; /* Ensure image behaves as a block element */
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 80px 0;
}

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

.page-fishing-games__promo-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-fishing-games__promo-title {
    font-size: 1.4em;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.page-fishing-games__promo-card .page-fishing-games__btn-primary,
.page-fishing-games__promo-card .page-fishing-games__btn-secondary {
    margin-top: auto; /* Push button to bottom */
    width: 100%;
}

/* CTA Banner */
.page-fishing-games__cta-banner {
    padding: 80px 0;
    background-color: var(--deep-green-color); /* Dark background for banner */
    text-align: center;
}

.page-fishing-games__banner-title {
    font-size: 2.2em;
    color: var(--text-main-color);
    margin-bottom: 20px;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 80px 0;
}

.page-fishing-games__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--text-main-color);
    cursor: pointer;
    background-color: var(--deep-green-color); /* Slightly darker background for question */
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    background-color: var(--divider-color);
}

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    content: "−"; /* Change to minus when open */
}

/* For details tag, hide default 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;
    color: var(--text-secondary-color);
    background-color: var(--card-bg-color);
    border-top: 1px solid var(--divider-color);
    font-size: 1em;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__guide-content {
        flex-direction: column;
    }
    .page-fishing-games__guide-image {
        min-width: unset;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
        margin-bottom: 20px;
    }
    .page-fishing-games__description {
        font-size: 1em;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-fishing-games__hero-section {
        padding: 40px 0;
        padding-top: 10px !important; /* body already has padding-top */
    }
    .page-fishing-games__hero-image {
        margin-bottom: 30px;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
        padding: 0 15px; /* Add padding for buttons */
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        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__feature-grid,
    .page-fishing-games__game-type-list,
    .page-fishing-games__promo-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    /* All images responsive for mobile */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important; /* Ensure image takes full width of parent */
        height: auto !important;
        display: block !important;
    }
    
    /* All containers for images/videos/content */
    .page-fishing-games__container,
    .page-fishing-games__hero-content,
    .page-fishing-games__intro-section,
    .page-fishing-games__features-section,
    .page-fishing-games__game-types-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__cta-banner,
    .page-fishing-games__faq-section,
    .page-fishing-games__card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

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

    .page-fishing-games__video-section {
        padding-top: 10px !important; /* body already has padding-top */
    }
    .page-fishing-games__video-container,
    .page-fishing-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding: 0 15px; /* Add padding here for video container */
    }
    .page-fishing-games video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

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

    .page-fishing-games__guide-image {
        min-width: unset; /* Override desktop min-width */
        width: 100%;
    }

    .page-fishing-games__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-fishing-games__faq-answer {
        padding: 15px 20px;
    }
}

/* Ensure content area images are not smaller than 200px */
.page-fishing-games__feature-image,
.page-fishing-games__game-type-image,
.page-fishing-games__guide-image {
    min-width: 200px;
    min-height: 200px;
}
/* For mobile, this min-width is overridden by max-width: 100% */