/* style/fishing-games.css */

: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-color: #2E7A4E;
    --fishing-games-glow-color: #57E38D;
    --fishing-games-gold-color: #F2C14E;
    --fishing-games-divider-color: #1E3A2A;
    --fishing-games-deep-green: #0A4B2C;
}

.page-fishing-games {
    font-family: Arial, sans-serif;
    color: var(--fishing-games-text-main); /* Default text color for dark background */
    background-color: var(--fishing-games-background); /* Overall page background */
}

.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;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px; /* Small top padding, more bottom padding */
    text-align: center;
    overflow: hidden;
    background-color: var(--fishing-games-background);
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

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

.page-fishing-games__hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
}

.page-fishing-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--fishing-games-gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-fishing-games__hero-description {
    font-size: 1.15rem;
    color: var(--fishing-games-text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.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 {
    display: inline-block;
    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: var(--fishing-games-text-main);
    border: 2px solid var(--fishing-games-glow-color);
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(42, 209, 111, 0.6);
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: var(--fishing-games-glow-color);
    border: 2px solid var(--fishing-games-glow-color);
}

.page-fishing-games__btn-secondary:hover {
    background-color: rgba(87, 227, 141, 0.1);
    transform: translateY(-3px);
}

/* --- General Section Styling --- */
.page-fishing-games__about-section,
.page-fishing-games__advantages-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__games-section,
.page-fishing-games__promotions-section,
.page-fishing-games__safe-gaming-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-final-section {
    padding: 60px 0;
}

.page-fishing-games__dark-bg {
    background-color: var(--fishing-games-background);
    color: var(--fishing-games-text-main);
}

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

.page-fishing-games__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    color: var(--fishing-games-gold-color);
}

.page-fishing-games__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--fishing-games-glow-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-fishing-games__light-bg .page-fishing-games__section-title {
    color: var(--fishing-games-deep-green);
}

.page-fishing-games__light-bg .page-fishing-games__section-title::after {
    background: var(--fishing-games-deep-green);
}

.page-fishing-games__text-block {
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
    color: inherit;
}

.page-fishing-games__highlight {
    color: var(--fishing-games-glow-color);
    font-weight: 600;
}

.page-fishing-games__light-bg .page-fishing-games__highlight {
    color: var(--fishing-games-primary-color);
}

.page-fishing-games__content-image {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 30px auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-fishing-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(var(--fishing-games-glow-color), 0.3);
}

.page-fishing-games__card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--fishing-games-gold-color);
    margin-bottom: 15px;
}

.page-fishing-games__card-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--fishing-games-text-secondary);
}

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

.page-fishing-games__step-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #333333;
    position: relative;
    overflow: hidden;
}

.page-fishing-games__step-icon {
    width: 60px;
    height: 60px;
    background: var(--fishing-games-button-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--fishing-games-text-main);
    margin: 0 auto 20px;
    box-shadow: 0 0 0 5px rgba(87, 227, 141, 0.3);
}

.page-fishing-games__step-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--fishing-games-deep-green);
    margin-bottom: 15px;
}

.page-fishing-games__step-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 20px;
}

.page-fishing-games__inline-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--fishing-games-primary-color);
    color: var(--fishing-games-text-main);
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.3s ease;
}

.page-fishing-games__inline-btn:hover {
    background-color: var(--fishing-games-secondary-color);
}

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

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

.page-fishing-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(var(--fishing-games-glow-color), 0.3);
}

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

.page-fishing-games__game-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--fishing-games-gold-color);
    margin: 20px 0 10px;
}

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

.page-fishing-games__btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* --- Promotions Section --- */
.page-fishing-games__promo-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.page-fishing-games__promo-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #333333;
    text-align: left;
}

.page-fishing-games__promo-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--fishing-games-deep-green);
    margin-bottom: 10px;
}

.page-fishing-games__promo-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555555;
}

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

/* --- Safe Gaming Section --- */
.page-fishing-games__safe-gaming-section .page-fishing-games__section-title {
    color: var(--fishing-games-gold-color);
}

.page-fishing-games__safe-gaming-section .page-fishing-games__section-title::after {
    background: var(--fishing-games-glow-color);
}

/* --- FAQ Section --- */
.page-fishing-games__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.page-fishing-games__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #333333;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--fishing-games-deep-green);
    cursor: pointer;
    background-color: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
}

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

.page-fishing-games__faq-question[open] {
    border-bottom: none;
}

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

.page-fishing-games__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1rem;
    line-height: 1.7;
    color: #555555;
    background-color: #ffffff;
}

/* Details tag specific styling */
details > summary {
    list-style: none;
}
details > summary::-webkit-details-marker {
    display: none;
}

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

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

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-fishing-games__section-title {
        font-size: 2rem;
    }
    .page-fishing-games__hero-description,
    .page-fishing-games__text-block {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding: 10px 0 40px;
    }
    .page-fishing-games__hero-image-wrapper {
        max-height: 400px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-fishing-games__hero-description {
        font-size: 0.95rem;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100%;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    /* General mobile padding for content sections */
    .page-fishing-games__container,
    .page-fishing-games__about-section .page-fishing-games__container,
    .page-fishing-games__advantages-section .page-fishing-games__container,
    .page-fishing-games__how-to-play-section .page-fishing-games__container,
    .page-fishing-games__games-section .page-fishing-games__container,
    .page-fishing-games__promotions-section .page-fishing-games__container,
    .page-fishing-games__safe-gaming-section .page-fishing-games__container,
    .page-fishing-games__faq-section .page-fishing-games__container,
    .page-fishing-games__cta-final-section .page-fishing-games__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .page-fishing-games__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .page-fishing-games__text-block {
        font-size: 0.9rem;
    }
    .page-fishing-games__card,
    .page-fishing-games__step-item,
    .page-fishing-games__game-card,
    .page-fishing-games__promo-item {
        padding: 20px;
    }
    .page-fishing-games__card-title,
    .page-fishing-games__step-title,
    .page-fishing-games__game-title,
    .page-fishing-games__promo-title {
        font-size: 1.2rem;
    }
    .page-fishing-games__game-image {
        height: 180px;
    }
    .page-fishing-games__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-fishing-games__faq-answer {
        font-size: 0.9rem;
        padding: 10px 20px 15px;
    }
    .page-fishing-games__video-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
    .page-fishing-games__hero-section {
        padding-top: 10px !important;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-image-wrapper {
        max-height: 300px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
    }
    .page-fishing-games__cta-buttons {
        gap: 10px;
    }
    .page-fishing-games__section-title {
        font-size: 1.6rem;
    }
    .page-fishing-games__step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
}