/* 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); /* Inherited from shared.css */
}

/* Sections */
.page-fishing-games__section {
    padding: 60px 20px;
    text-align: center;
}

.page-fishing-games__dark-section {
    background-color: var(--dark-bg-1);
    color: #ffffff;
}

.page-fishing-games__light-section {
    background-color: #ffffff;
    color: #333333;
}

/* Containers */
.page-fishing-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Consistent padding for content */
    box-sizing: border-box;
}

/* Titles */
.page-fishing-games__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #ffffff; /* Default for dark sections */
    font-weight: bold;
}

.page-fishing-games__light-section .page-fishing-games__section-title {
    color: #017439; /* Brand color for titles in light sections */
}

.page-fishing-games__card-title,
.page-fishing-games__guide-title,
.page-fishing-games__list-item-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #017439; /* Brand color for sub-titles */
}

.page-fishing-games__dark-section .page-fishing-games__card-title,
.page-fishing-games__dark-section .page-fishing-games__guide-title,
.page-fishing-games__dark-section .page-fishing-games__list-item-title {
    color: #ffffff; /* White for sub-titles in dark sections */
}

/* Text */
.page-fishing-games__section-text,
.page-fishing-games__card-text,
.page-fishing-games__guide-text,
.page-fishing-games__list-item-text {
    font-size: 1.1em;
    margin-bottom: 20px;
}

.page-fishing-games__light-section .page-fishing-games__section-text,
.page-fishing-games__light-section .page-fishing-games__card-text,
.page-fishing-games__light-section .page-fishing-games__guide-text,
.page-fishing-games__light-section .page-fishing-games__list-item-text {
    color: #333333;
}

/* Links within text */
.page-fishing-games a {
    color: #FFFF00; /* Highlighted text color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-fishing-games a:hover {
    color: #C30808; /* Hover color for links */
    text-decoration: underline;
}

.page-fishing-games__light-section a {
    color: #017439; /* Brand color for links in light sections */
}

.page-fishing-games__light-section a:hover {
    color: #C30808;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    overflow: hidden;
    color: #ffffff;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.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);
    z-index: 2;
}

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

.page-fishing-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFF00; /* Yellow for main title */
}

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

.page-fishing-games__hero-buttons,
.page-fishing-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

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

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

.page-fishing-games__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
    color: #ffffff;
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: #FFFF00;
    color: #C30808;
    border-color: #FFFF00;
}

/* Images */
.page-fishing-games__image-wrapper {
    margin: 40px auto;
    text-align: center;
}

.page-fishing-games__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__feature-card,
.page-fishing-games__reason-card {
    background-color: #ffffff; /* White background for cards */
    color: #333333;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.page-fishing-games__feature-card .page-fishing-games__card-title,
.page-fishing-games__reason-card .page-fishing-games__card-title {
    color: #017439;
}

.page-fishing-games__feature-card .page-fishing-games__card-text,
.page-fishing-games__reason-card .page-fishing-games__card-text {
    color: #333333;
}

/* Guide Steps */
.page-fishing-games__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-fishing-games__guide-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly lighter background for dark section */
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.page-fishing-games__guide-item .page-fishing-games__guide-title {
    color: #FFFF00; /* Yellow for guide titles */
}

.page-fishing-games__guide-item .page-fishing-games__guide-text {
    color: #f0f0f0;
}

.page-fishing-games__guide-cta {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Lists */
.page-fishing-games__tips-list,
.page-fishing-games__promotions-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
}

.page-fishing-games__list-item {
    background-color: #f9f9f9; /* Light background for list items in light section */
    color: #333333;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__dark-section .page-fishing-games__list-item {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.page-fishing-games__dark-section .page-fishing-games__list-item-text {
    color: #f0f0f0;
}

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

.page-fishing-games__faq-item {
    background-color: #f9f9f9; /* Light background for FAQ items */
    color: #333333;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__dark-section .page-fishing-games__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: #e8e8e8; /* Slightly darker for question in light section */
    color: #333333;
    transition: background-color 0.3s ease;
}

.page-fishing-games__dark-section .page-fishing-games__faq-question {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

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

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

.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);
}

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    text-align: left;
}

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

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

.page-fishing-games__dark-section .page-fishing-games__faq-answer p {
    color: #f0f0f0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-fishing-games__hero-title {
        font-size: 2.2em;
    }

    .page-fishing-games__hero-description {
        font-size: 1.1em;
    }

    .page-fishing-games__hero-buttons,
    .page-fishing-games__cta-buttons,
    .page-fishing-games__guide-cta {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to prevent overflow */
    }

    .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__section-title {
        font-size: 1.8em;
    }

    .page-fishing-games__card-title,
    .page-fishing-games__guide-title,
    .page-fishing-games__list-item-title {
        font-size: 1.3em;
    }

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

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

    .page-fishing-games__image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Content area images CSS dimensions lower limit */
    /* Ensure no img in .page-fishing-games is less than 200px */
    .page-fishing-games img:not(.shared-header__logo):not(.shared-footer__payment-icon):not(.shared-footer__social-icon) {
        min-width: 200px;
        min-height: 200px;
    }

    /* Video responsiveness */
    .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,
    .page-fishing-games__video-container,
    .page-fishing-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
}