/* style/fishing-games.css */

/* Base styles for the page content, assuming a dark body background from shared.css */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark background */
    background-color: transparent; /* Inherit from body or shared.css */
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-fishing-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-fishing-games__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
    color: #ffffff;
}

.page-fishing-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-fishing-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-fishing-games__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Ensure buttons wrap on small screens */
}

/* General Buttons */
.page-fishing-games__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    max-width: 100%; /* Responsive button width */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn--register {
    background-color: #C30808; /* Register button color */
    color: #FFFF00; /* Register button font color */
    border: 2px solid #C30808;
}

.page-fishing-games__btn--register:hover {
    background-color: #a00606;
    transform: translateY(-3px);
}

.page-fishing-games__btn--play-demo {
    background-color: #017439; /* Primary color */
    color: #FFFFFF;
    border: 2px solid #017439;
}

.page-fishing-games__btn--play-demo:hover {
    background-color: #005a2d;
    transform: translateY(-3px);
}

.page-fishing-games__btn--cta {
    background-color: #017439;
    color: #FFFFFF;
    border: 2px solid #017439;
    padding: 18px 35px;
    font-size: 1.2em;
    margin-top: 30px;
}

.page-fishing-games__btn--cta:hover {
    background-color: #005a2d;
    transform: translateY(-3px);
}

/* General Section Styles */
.page-fishing-games__section {
    padding: 80px 20px;
    text-align: center;
    position: relative;
}

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #017439; /* Primary color for titles on light background */
}

/* Dark background sections */
.page-fishing-games__dark-bg {
    background-color: #017439; /* Primary color as background */
    color: #ffffff;
}

.page-fishing-games__dark-bg .page-fishing-games__section-title {
    color: #ffffff; /* White title on dark background */
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #333333; /* Default text color for light sections */
}

.page-fishing-games__dark-bg .page-fishing-games__text-block {
    color: #f0f0f0; /* Lighter text for dark sections */
}

/* Image content within sections */
.page-fishing-games__image-content {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto 0;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Introduction Section specific */
.page-fishing-games__introduction-section {
    background-color: #ffffff; /* Light background */
}
.page-fishing-games__introduction-section .page-fishing-games__text-block {
    color: #333333;
}
.page-fishing-games__introduction-section .page-fishing-games__section-title {
    color: #017439;
}


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

.page-fishing-games__feature-card {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for cards on dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.page-fishing-games__feature-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #FFFF00; /* Highlight color for feature titles */
}

.page-fishing-games__feature-description {
    font-size: 1em;
    color: #f0f0f0;
}

/* How-to-play Section */
.page-fishing-games__how-to-play-section {
    background-color: #f8f8f8; /* Light background */
}
.page-fishing-games__how-to-play-section .page-fishing-games__section-title {
    color: #017439;
}
.page-fishing-games__how-to-play-section .page-fishing-games__text-block {
    color: #333333;
}

.page-fishing-games__guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    text-align: left;
    margin-top: 40px;
}

.page-fishing-games__guide-step {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #333333;
}

.page-fishing-games__guide-title {
    font-size: 1.6em;
    margin-bottom: 20px;
    color: #017439;
}

.page-fishing-games__guide-list {
    list-style: none; /* Remove default list style */
    padding: 0;
    margin: 0;
}

.page-fishing-games__guide-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-size: 1.05em;
}

.page-fishing-games__guide-list li:last-child {
    margin-bottom: 0;
}

.page-fishing-games__guide-list li::before {
    content: '✓'; /* Custom bullet point */
    color: #017439;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.page-fishing-games__guide-list li strong {
    color: #017439;
}

.page-fishing-games__guide-step a {
    color: #017439;
    text-decoration: none;
    font-weight: bold;
}

.page-fishing-games__guide-step a:hover {
    text-decoration: underline;
}

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

.page-fishing-games__promotion-card {
    background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white for cards on dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.page-fishing-games__promotion-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #FFFF00; /* Highlight color for promotion titles */
}

.page-fishing-games__promotion-description {
    font-size: 1em;
    color: #f0f0f0;
}

/* Why Choose Section */
.page-fishing-games__why-choose-section {
    background-color: #ffffff; /* Light background */
}
.page-fishing-games__why-choose-section .page-fishing-games__section-title {
    color: #017439;
}

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

.page-fishing-games__why-choose-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #333333;
    border: 1px solid #e0e0e0; /* Added border for contrast */
}

.page-fishing-games__why-choose-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #017439;
}

.page-fishing-games__why-choose-description {
    font-size: 1em;
    color: #555555;
}

/* Video Section */
.page-fishing-games__video-section {
    background-color: #017439; /* Primary color as background */
    color: #ffffff;
    padding-top: 80px; /* Default desktop padding */
}

.page-fishing-games__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px; /* Max width for video */
    margin: 40px auto 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__video-overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10; /* Make sure it's above the video for click */
    cursor: pointer;
    background: transparent; /* Invisible overlay for click */
}

/* FAQ Section */
.page-fishing-games__faq-section {
    background-color: #f8f8f8; /* Light background */
}
.page-fishing-games__faq-section .page-fishing-games__section-title {
    color: #017439;
}

.page-fishing-games__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
    text-align: left;
}

.page-fishing-games__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.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: #333333;
    cursor: pointer;
    background-color: #ffffff;
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    background-color: #f0f0f0;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #017439;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    transform: rotate(45deg); /* Plus to Minus effect */
}

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 1000px !important; /* Ensure it expands sufficiently */
    padding: 15px 25px;
}

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

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

.page-fishing-games__faq-answer a {
    color: #017439;
    text-decoration: none;
    font-weight: bold;
}

.page-fishing-games__faq-answer a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 2.8em;
    }
    .page-fishing-games__hero-description {
        font-size: 1.1em;
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-fishing-games__hero-section {
        height: auto;
        min-height: 600px;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-fishing-games__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    .page-fishing-games__hero-description {
        font-size: 1em;
        margin-bottom: 25px;
    }

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

    .page-fishing-games__btn {
        padding: 12px 25px;
        font-size: 1em;
        width: 100%; /* Full width for mobile buttons */
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-fishing-games__section {
        padding: 60px 15px;
    }

    .page-fishing-games__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-fishing-games__text-block {
        font-size: 0.95em;
    }

    /* Images responsive */
    .page-fishing-games img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Video responsive */
    .page-fishing-games video,
    .page-fishing-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-fishing-games__video-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure video section has correct top padding */
    }

    .page-fishing-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 0;
        padding-right: 0;
    }

    /* Card layouts */
    .page-fishing-games__features-grid,
    .page-fishing-games__guide-grid,
    .page-fishing-games__promotions-grid,
    .page-fishing-games__why-choose-grid {
        grid-template-columns: 1fr; /* Stack columns */
        gap: 25px;
    }

    .page-fishing-games__feature-card,
    .page-fishing-games__guide-step,
    .page-fishing-games__promotion-card,
    .page-fishing-games__why-choose-card,
    .page-fishing-games__faq-item {
        padding: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}