/* style/fishing-games.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: #ffffff; /* Light text for dark body background */
    line-height: 1.6;
    background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-fishing-games__section-title {
    font-size: clamp(28px, 3.5vw, 48px); /* H1 font-size rule, clamp for responsiveness */
    color: #26A9E0; /* Brand primary color */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

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

.page-fishing-games__text-block strong,
.page-fishing-games__description strong {
    color: #26A9E0;
}

.page-fishing-games__text-block a,
.page-fishing-games__description a,
.page-fishing-games__list-item a {
    color: #EA7C07; /* Login color for links */
    text-decoration: underline;
}

/* Buttons */
.page-fishing-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    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: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-fishing-games__btn-primary {
    background-color: #26A9E0; /* Main brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-fishing-games__btn-primary:hover {
    background-color: #1a8cc2; /* Slightly darker for hover */
    border-color: #1a8cc2;
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: #26A9E0; /* Main brand color */
    border: 2px solid #26A9E0;
}

.page-fishing-games__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-fishing-games__center-button {
    text-align: center;
    margin-top: 40px;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image first, then content */
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
    overflow: hidden;
    background-color: #1a1a1a; /* Dark background for hero */
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    max-height: 600px; /* Limit height for aesthetic */
    margin-bottom: 30px; /* Space between image and text */
}

.page-fishing-games__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
    color: #ffffff; /* Light text on dark hero background */
}

.page-fishing-games__main-title {
    font-size: clamp(32px, 4.5vw, 56px);
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

/* Section Backgrounds for Contrast */
.page-fishing-games__dark-bg {
    background-color: #1a1a1a; /* Dark background for sections */
    color: #ffffff;
    padding: 60px 0;
}

.page-fishing-games__light-bg {
    background-color: #282828; /* Slightly lighter dark background for contrast */
    color: #ffffff; /* Still light text */
    padding: 60px 0;
}

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

.page-fishing-games__feature-card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
}

.page-fishing-games__feature-image {
    width: 100%;
    max-width: 400px; /* Max width for feature images */
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-height: 200px; /* Minimum height for content images */
    min-width: 200px; /* Minimum width for content images */
}

.page-fishing-games__feature-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

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

/* How to Play / Tips List */
.page-fishing-games__steps-list,
.page-fishing-games__tips-list,
.page-fishing-games__promo-list,
.page-fishing-games__security-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-fishing-games__list-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 25px 30px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

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

.page-fishing-games__list-item p {
    font-size: 1em;
    color: #f0f0f0;
}

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

.page-fishing-games__promo-image {
    width: 100%;
    max-width: 300px; /* Example max-width for promo images */
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
    min-height: 200px;
    min-width: 200px;
}

/* FAQ Section */
.page-fishing-games__faq-list {
    margin-top: 30px;
}

.page-fishing-games__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    color: #ffffff;
}

.page-fishing-games__faq-item details > summary { /* For details tag */
    list-style: none;
}

.page-fishing-games__faq-item details summary::-webkit-details-marker { /* For details tag */
    display: none;
}

.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: #26A9E0;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: #ffffff;
}

.page-fishing-games__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1em;
    color: #f0f0f0;
}

/* Ensure images don't have filters */
.page-fishing-games img {
    filter: none !important; /* Absolutely no filters */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .page-fishing-games__container {
        padding: 0 15px; /* Smaller padding on mobile */
    }

    .page-fishing-games__hero-section {
        padding: 10px 0 40px 0; /* Adjust padding for mobile */
    }

    .page-fishing-games__hero-image {
        max-height: 300px; /* Smaller hero image on mobile */
    }

    .page-fishing-games__main-title {
        font-size: clamp(28px, 8vw, 40px); /* Adjust H1 font size for mobile */
    }

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

    .page-fishing-games__section-title {
        font-size: clamp(24px, 7vw, 36px); /* Adjust section title font size for mobile */
        margin-bottom: 30px;
    }

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

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Mobile image responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Ensure minimum size */
        min-height: 200px !important; /* Ensure minimum size */
    }

    /* Mobile 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;
    }

    .page-fishing-games__video-section {
        padding-top: 10px !important; /* Small top padding for video section */
    }
    
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__cta-buttons,
    .page-fishing-games__button-group,
    .page-fishing-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__features-grid,
    .page-fishing-games__promo-list {
        grid-template-columns: 1fr; /* Stack cards on mobile */
    }
}