/* style/fishing-games.css */

/* Base styles for the fishing games page */
.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: var(--dark-bg-1, #0d0d0d); /* Assuming shared provides a dark background */
}

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0;
    text-align: justify;
}

.page-fishing-games__text-block a {
    color: #FFFF00; /* Yellow for links to stand out on dark background */
    text-decoration: underline;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 700px;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Apply header offset */
    background: linear-gradient(135deg, #017439, #004d2e); /* Brand color gradient */
    color: #ffffff;
    text-align: center;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
}

.page-fishing-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFF00; /* Highlighted title color */
    line-height: 1.2;
}

.page-fishing-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.5;
}

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

.page-fishing-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Make image a background element */
}

/* Buttons */
.page-fishing-games__hero-buttons,
.page-fishing-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    margin-top: 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

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

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

.page-fishing-games__btn-primary:hover {
    background-color: #e02020;
    border-color: #e02020;
    transform: translateY(-3px);
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: #FFFF00;
    border: 2px solid #FFFF00;
}

.page-fishing-games__btn-secondary:hover {
    background-color: #FFFF00;
    color: #017439;
    transform: translateY(-3px);
}

/* Intro Section */
.page-fishing-games__intro-section {
    padding: 80px 0;
    text-align: center;
}

/* Dark Section styling (for contrast) */
.page-fishing-games__dark-section {
    background-color: #017439; /* Primary brand color */
    color: #ffffff;
    padding: 80px 0;
}

.page-fishing-games__dark-section .page-fishing-games__section-title {
    color: #ffffff;
}

.page-fishing-games__dark-section .page-fishing-games__text-block {
    color: #f0f0f0;
}

/* Features Section */
.page-fishing-games__features-section {
    padding: 80px 0;
    background-color: var(--dark-bg-1, #0d0d0d); /* Dark background */
}

.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.08); /* Slightly lighter on dark background */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: #f0f0f0;
}

.page-fishing-games__feature-card:hover {
    transform: translateY(-5px);
}

.page-fishing-games__feature-image {
    width: 100%;
    height: auto; /* Allow height to adjust for smaller screens */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min-size */
    min-height: 200px; /* Enforce min-size */
    aspect-ratio: 4/3; /* Maintain aspect ratio if image is 4:3, for others use original aspect ratio */
}

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

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

/* How to Play Section */
.page-fishing-games__how-to-play-section {
    padding: 80px 0;
}

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

.page-fishing-games__numbered-list li {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: #f0f0f0;
    counter-increment: list-counter;
    position: relative;
    padding-left: 60px; /* Space for counter */
}

.page-fishing-games__numbered-list li::before {
    content: counter(list-counter);
    position: absolute;
    left: 20px;
    top: 25px;
    background-color: #C30808; /* Register/Login color for counter */
    color: #FFFF00; /* Register/Login font color for counter */
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
}

.page-fishing-games__list-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #FFFF00;
}

/* Strategies Section */
.page-fishing-games__strategies-section {
    padding: 80px 0;
    background-color: var(--dark-bg-1, #0d0d0d); /* Dark background */
}

.page-fishing-games__bullet-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-fishing-games__bullet-list li {
    background-color: rgba(255, 255, 255, 0.08);
    border-left: 5px solid #017439; /* Brand color accent */
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #f0f0f0;
}

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

.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(0, 0, 0, 0.3); /* Darker background for promotion cards on brand color section */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: #f0f0f0;
}

.page-fishing-games__promotion-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #FFFF00;
}

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

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 80px 0;
    background-color: var(--dark-bg-1, #0d0d0d); /* Dark background */
}

.page-fishing-games__faq-list {
    margin-top: 40px;
}

.page-fishing-games__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.15);
    color: #FFFF00;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

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

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    transform: rotate(45deg); /* Plus sign to X or minus sign */
}

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

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 1000px !important; /* Sufficiently large value */
    padding: 15px 25px 25px;
}

.page-fishing-games__faq-answer p {
    margin: 0;
    color: #cccccc;
    font-size: 1em;
}

/* CTA Section */
.page-fishing-games__cta-section {
    padding: 80px 0;
    text-align: center;
}

.page-fishing-games__cta-content {
    max-width: 900px;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 3em;
    }
    .page-fishing-games__hero-description {
        font-size: 1.2em;
    }
    .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 {
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
    }
    .page-fishing-games__hero-title {
        font-size: 2.5em;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__hero-buttons,
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fishing-games__container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .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__how-to-play-section,
    .page-fishing-games__strategies-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-fishing-games__feature-image {
        height: auto; /* Allow height to adjust for smaller screens */
    }
}