/* style/fishing-games.css */

/* Base styles for the page content */
.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light body background */
    background-color: #f8f8f8; /* Light background for the main content area */
}

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

.page-fishing-games__section {
    padding: 60px 0;
    text-align: center;
}

.page-fishing-games__section:nth-of-type(even) {
    background-color: #f0f0f0; /* Slightly different background for alternating sections */
}

.page-fishing-games__dark-bg {
    background-color: #1A202C; /* Main brand color for dark sections */
    color: #ffffff; /* White text for dark background */
}

.page-fishing-games__light-bg {
    background-color: #ffffff; /* White background for light sections */
    color: #333333; /* Dark text for light background */
}

.page-fishing-games__section-title {
    font-size: 36px;
    color: #1A202C; /* Main brand color for titles */
    margin-bottom: 30px;
    font-weight: bold;
}

.page-fishing-games__dark-bg .page-fishing-games__section-title {
    color: #FFD700; /* Auxiliary color for titles on dark background */
}

.page-fishing-games p {
    margin-bottom: 20px;
    font-size: 17px;
}

/* HERO Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    background-color: #1A202C; /* Dark background for hero */
    color: #ffffff;
    overflow: hidden; /* Prevent image overflow */
}

.page-fishing-games__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-fishing-games__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-fishing-games__main-title {
    font-size: 48px;
    margin-bottom: 20px;
    color: #FFD700; /* Auxiliary color for main title */
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__intro-text {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

/* CTA Button */
.page-fishing-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #FFD700; /* Auxiliary color for CTA */
    color: #1A202C; /* Dark text for auxiliary background */
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__cta-button:hover {
    background: #e6c200; /* Slightly darker gold on hover */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__cta-center {
    margin-top: 40px;
}

/* Image content within sections */
.page-fishing-games__image-content {
    margin: 40px auto;
    max-width: 800px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__image-content img {
    width: 100%;
    height: auto;
    display: block;
}

/* Feature Grid */
.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: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-fishing-games__feature-card img {
    width: 100%; /* Make image take full width of card */
    max-width: 400px; /* Max width for card images */
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-fishing-games__feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__feature-card .page-fishing-games__card-title {
    font-size: 22px;
    color: #1A202C;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-fishing-games__dark-bg .page-fishing-games__feature-card {
    background-color: #2a3447; /* Slightly lighter dark for cards on dark bg */
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__dark-bg .page-fishing-games__feature-card .page-fishing-games__card-title {
    color: #FFD700;
}

/* How to Play Steps */
.page-fishing-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__step-card {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: all 0.3s ease;
    border-left: 5px solid #FFD700;
}

.page-fishing-games__step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__step-card .page-fishing-games__card-title {
    font-size: 20px;
    color: #1A202C;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-fishing-games__step-card a {
    color: #1A202C;
    text-decoration: underline;
    font-weight: bold;
}

.page-fishing-games__step-card a:hover {
    color: #FFD700;
}

/* Promotions List */
.page-fishing-games__promotion-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-fishing-games__promotion-list li {
    background-color: #2a3447; /* Lighter dark background for list items */
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-size: 18px;
    color: #f0f0f0;
}

.page-fishing-games__promotion-list li strong {
    color: #FFD700;
    font-size: 20px;
}

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

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

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 20px;
    opacity: 0;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 2000px !important; /* Sufficiently large for content */
    padding: 20px !important;
    opacity: 1;
    background: #f9f9f9;
    border-top: 1px solid #e0e0e0;
    border-radius: 0 0 8px 8px;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-fishing-games__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-fishing-games__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: #1A202C;
    pointer-events: none; /* Prevent h3 from blocking click */
}

.page-fishing-games__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: #FFD700;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none; /* Prevent icon from blocking click */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    color: #1A202C;
    transform: rotate(45deg); /* Rotate for 'x' effect, or simply change text to '-' */
}


/* Responsive Design */
@media (max-width: 992px) {
    .page-fishing-games__main-title {
        font-size: 40px;
    }
    .page-fishing-games__section-title {
        font-size: 32px;
    }
    .page-fishing-games__intro-text {
        font-size: 18px;
    }
    .page-fishing-games__feature-card,
    .page-fishing-games__step-card {
        padding: 25px;
    }
    .page-fishing-games__feature-card img {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-fishing-games__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Mobile specific padding top */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-fishing-games__intro-text {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .page-fishing-games__section {
        padding: 40px 0;
    }
    .page-fishing-games__section-title {
        font-size: 28px;
        margin-bottom: 25px;
    }
    .page-fishing-games__container {
        padding: 0 15px; /* Adjust container padding for mobile */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Images responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__image-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__image-content {
        margin: 20px auto;
    }

    /* Buttons responsiveness */
    .page-fishing-games__cta-button,
    .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__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;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
    }

    /* FAQ Mobile */
    .page-fishing-games__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-fishing-games__faq-question h3 {
        font-size: 15px;
        width: calc(100% - 40px);
    }
    .page-fishing-games__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-fishing-games__faq-answer {
        padding: 0 15px;
    }
    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 15px !important;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__main-title {
        font-size: 28px;
    }
    .page-fishing-games__section-title {
        font-size: 24px;
    }
    .page-fishing-games__cta-button {
        font-size: 16px;
        padding: 12px 25px;
    }
}