/* style/fishing-games.css */

/* Custom Colors */
:root {
    --fishing-games-primary-color: #11A84E;
    --fishing-games-secondary-color: #22C768;
    --fishing-games-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --fishing-games-card-bg: #11271B;
    --fishing-games-background: #08160F;
    --fishing-games-text-main: #F2FFF6;
    --fishing-games-text-secondary: #A7D9B8;
    --fishing-games-border: #2E7A4E;
    --fishing-games-glow: #57E38D;
    --fishing-games-gold: #F2C14E;
    --fishing-games-divider: #1E3A2A;
    --fishing-games-deep-green: #0A4B2C;
}

.page-fishing-games {
    background-color: var(--fishing-games-background);
    color: var(--fishing-games-text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 10px; /* Small top padding for the first section */
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* body already handles --header-offset */
    background-color: var(--fishing-games-background);
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

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

.page-fishing-games__hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
    position: relative; /* Ensure content is above any potential background layers */
}

.page-fishing-games__main-title {
    color: var(--fishing-games-gold);
    font-size: clamp(2.5rem, 5vw, 3.8rem); /* Responsive font size */
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.8);
    line-height: 1.2;
}

.page-fishing-games__description {
    color: var(--fishing-games-text-main);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.page-fishing-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-fishing-games__btn-primary {
    background: var(--fishing-games-button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
    transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
    background: transparent;
    color: var(--fishing-games-gold);
    border: 2px solid var(--fishing-games-gold);
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.2);
}

.page-fishing-games__btn-secondary:hover {
    background: rgba(242, 193, 78, 0.1);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.4);
    transform: translateY(-2px);
}

.page-fishing-games__btn-link {
    color: var(--fishing-games-gold);
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
    display: inline-block;
    transition: color 0.3s ease;
}

.page-fishing-games__btn-link:hover {
    color: var(--fishing-games-secondary-color);
}

/* General Section Styling */
.page-fishing-games__section-title {
    color: var(--fishing-games-gold);
    font-size: clamp(2rem, 4vw, 2.8rem);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.6);
}

.page-fishing-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--fishing-games-primary-color);
    border-radius: 2px;
}

.page-fishing-games__text-block {
    color: var(--fishing-games-text-secondary);
    font-size: 1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.page-fishing-games__card-title {
    color: var(--fishing-games-gold);
    font-size: 1.5rem;
    margin-top: 20px;
    margin-bottom: 15px;
    text-align: center;
}

/* Why Choose Section */
.page-fishing-games__why-choose-section {
    padding: 80px 0;
    background-color: var(--fishing-games-deep-green);
}

.page-fishing-games__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-fishing-games__feature-card {
    background-color: var(--fishing-games-card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--fishing-games-border);
}

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

.page-fishing-games__feature-icon {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin: 0 auto 20px auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-fishing-games__feature-card p {
    color: var(--fishing-games-text-secondary);
    font-size: 0.95rem;
}

/* Featured Games Section */
.page-fishing-games__featured-games-section {
    padding: 80px 0;
    background-color: var(--fishing-games-background);
}

.page-fishing-games__games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.page-fishing-games__game-card {
    background-color: var(--fishing-games-card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--fishing-games-border);
    text-align: center;
}

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

.page-fishing-games__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-fishing-games__game-card .page-fishing-games__card-title {
    margin-top: 15px;
    margin-bottom: 10px;
}

.page-fishing-games__game-card p {
    color: var(--fishing-games-text-secondary);
    font-size: 0.95rem;
    padding: 0 20px 20px;
}

.page-fishing-games__cta-buttons--centered {
    justify-content: center;
    display: flex;
}

/* How to Play Section */
.page-fishing-games__how-to-play-section {
    padding: 80px 0;
    background-color: var(--fishing-games-deep-green);
}

.page-fishing-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-fishing-games__step-card {
    background-color: var(--fishing-games-card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--fishing-games-border);
    position: relative;
}

.page-fishing-games__step-number {
    background-color: var(--fishing-games-primary-color);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: -55px auto 20px auto;
    border: 3px solid var(--fishing-games-gold);
    box-shadow: 0 0 15px var(--fishing-games-glow);
}

.page-fishing-games__step-card .page-fishing-games__card-title {
    margin-top: 0;
}

.page-fishing-games__step-card p {
    color: var(--fishing-games-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* Tips Section */
.page-fishing-games__tips-section {
    padding: 80px 0;
    background-color: var(--fishing-games-background);
}

.page-fishing-games__tips-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 0 auto;
}

.page-fishing-games__tips-list li {
    background-color: var(--fishing-games-card-bg);
    border: 1px solid var(--fishing-games-border);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-fishing-games__tips-list li:hover {
    transform: translateX(10px);
}

.page-fishing-games__tips-list .page-fishing-games__list-title {
    color: var(--fishing-games-primary-color);
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 10px;
    text-align: left;
}

.page-fishing-games__tips-list p {
    color: var(--fishing-games-text-secondary);
    font-size: 0.95rem;
    text-align: left;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 80px 0;
    background-color: var(--fishing-games-deep-green);
}

.page-fishing-games__promos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.page-fishing-games__promo-card {
    background-color: var(--fishing-games-card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--fishing-games-border);
    text-align: center;
}

.page-fishing-games__promo-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-fishing-games__promo-card .page-fishing-games__card-title {
    padding: 15px 20px 0;
    margin-top: 0;
}

.page-fishing-games__promo-card p {
    color: var(--fishing-games-text-secondary);
    font-size: 0.95rem;
    padding: 0 20px 20px;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 80px 0;
    background-color: var(--fishing-games-background);
}

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

.page-fishing-games__faq-item {
    background-color: var(--fishing-games-card-bg);
    border: 1px solid var(--fishing-games-border);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    color: var(--fishing-games-gold);
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    background-color: var(--fishing-games-card-bg);
    border-bottom: 1px solid var(--fishing-games-divider);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-fishing-games__faq-question::-webkit-details-marker {
    display: none;
}

.page-fishing-games__faq-question:hover {
    background-color: var(--fishing-games-deep-green);
}

.page-fishing-games__faq-toggle {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--fishing-games-primary-color);
    line-height: 1;
    margin-left: 15px;
}

.page-fishing-games__faq-answer {
    padding: 20px 25px;
    color: var(--fishing-games-text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

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

/* Conclusion Section */
.page-fishing-games__conclusion-section {
    padding: 80px 0;
    background-color: var(--fishing-games-deep-green);
    text-align: center;
}

.page-fishing-games__conclusion-section .page-fishing-games__text-block {
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-content {
        padding: 0 20px;
    }

    .page-fishing-games__main-title {
        font-size: clamp(2rem, 4.5vw, 3.5rem);
    }

    .page-fishing-games__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
}

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

    .page-fishing-games__container {
        padding: 0 15px;
    }

    .page-fishing-games__hero-section {
        padding: 40px 15px;
    }

    .page-fishing-games__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

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

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

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .page-fishing-games__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 30px;
    }

    .page-fishing-games__text-block {
        font-size: 0.95rem;
        margin-bottom: 40px;
    }

    .page-fishing-games__features-grid,
    .page-fishing-games__games-grid,
    .page-fishing-games__steps-grid,
    .page-fishing-games__promos-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-fishing-games__feature-card,
    .page-fishing-games__game-card,
    .page-fishing-games__step-card,
    .page-fishing-games__promo-card {
        padding: 25px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-fishing-games__hero-image,
    .page-fishing-games__feature-icon,
    .page-fishing-games__game-image,
    .page-fishing-games__promo-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-fishing-games__why-choose-section,
    .page-fishing-games__featured-games-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__tips-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__conclusion-section {
        padding: 50px 0;
    }

    .page-fishing-games__step-number {
        margin-top: -45px;
    }

    .page-fishing-games__tips-list li {
        padding: 20px;
    }

    .page-fishing-games__tips-list .page-fishing-games__list-title {
        font-size: 1.2rem;
    }

    .page-fishing-games__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-fishing-games__faq-answer {
        padding: 15px 20px;
        font-size: 0.95rem;
    }

    /* Ensure all content containers are responsive */
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__video-section,
    .page-fishing-games__video-container,
    .page-fishing-games__video-wrapper,
    .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;
        overflow: hidden !important;
    }

    /* Specific override for first section's top padding if needed */
    .page-fishing-games__hero-section {
        padding-top: 10px !important;
    }
}

/* Ensure no filter is applied to images */
.page-fishing-games img {
    filter: none;
}