:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background-color-page: #08160F; /* Using a different var name to avoid conflict with shared body background */
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

.page-fishing-games {
    font-family: Arial, sans-serif;
    color: var(--text-main); /* Default text color for the page, contrasting with dark body background */
    background-color: var(--background-color-page); /* Page specific background, may be overridden by shared body */
}

.page-fishing-games__section {
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small decorative top padding */
    padding-bottom: 80px;
    color: var(--text-main);
    overflow: hidden;
    background-color: var(--deep-green);
}

.page-fishing-games__hero-image-wrapper {
    position: relative;
    width: 100%;
    max-height: 500px; /* Limit height for aesthetic */
    overflow: hidden;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Darken image slightly for text contrast */
    transform: translateY(-20%); /* Adjust image position */
}

.page-fishing-games__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    max-width: 900px;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-main);
}

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

.page-fishing-games__hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    color: var(--text-secondary);
}

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

/* General Section Titles */
.page-fishing-games__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

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

.page-fishing-games__sub-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--gold-color);
    margin-top: 30px;
    margin-bottom: 20px;
}

.page-fishing-games__text-block {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
}

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

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

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

.page-fishing-games__btn-secondary:hover {
    background: var(--gold-color);
    color: var(--deep-green);
    transform: translateY(-3px);
}

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

/* Dark Section */
.page-fishing-games__dark-section {
    background-color: var(--card-bg);
    color: var(--text-main);
}

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

.page-fishing-games__feature-item {
    background: var(--deep-green);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-fishing-games__feature-item:hover {
    transform: translateY(-8px);
}

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

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

/* Download Guide */
.page-fishing-games__download-steps {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-fishing-games__platform-guide {
    flex: 1;
    min-width: 300px;
}

.page-fishing-games__step-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-fishing-games__step-list li {
    background: var(--deep-green);
    border-left: 4px solid var(--gold-color);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.page-fishing-games__step-list li strong {
    color: var(--text-main);
}

.page-fishing-games__platform-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
    object-fit: cover;
}

.page-fishing-games__note-list {
    list-style: disc;
    padding-left: 20px;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 20px;
}

.page-fishing-games__note-list li {
    margin-bottom: 10px;
}

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

.page-fishing-games__card {
    background: var(--deep-green);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-fishing-games__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

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

.page-fishing-games__card-title {
    font-size: 1.5rem;
    color: var(--gold-color);
    padding: 20px 20px 10px;
    font-weight: 600;
}

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

/* Strategy Content */
.page-fishing-games__strategy-content {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.page-fishing-games__strategy-text {
    flex: 2;
    min-width: 300px;
}

.page-fishing-games__strategy-image {
    flex: 1;
    min-width: 300px;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

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

.page-fishing-games__promo-list li {
    background: var(--deep-green);
    border-radius: 10px;
    padding: 25px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__promo-list li strong {
    color: var(--text-main);
    display: block;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

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

.page-fishing-games__faq-item {
    background: var(--deep-green);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-fishing-games__faq-item[open] {
    background: var(--card-bg);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    list-style: none;
    position: relative;
}

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

.page-fishing-games__faq-qtext {
    flex-grow: 1;
    color: var(--gold-color);
}

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

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

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

/* Conclusion Section */
.page-fishing-games__conclusion {
    text-align: center;
    padding-bottom: 80px;
}

.page-fishing-games__conclusion .page-fishing-games__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-image {
        transform: translateY(-10%);
    }

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

@media (max-width: 768px) {
    .page-fishing-games__section {
        padding: 40px 15px;
    }

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

    .page-fishing-games__main-title {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 10px;
    }

    .page-fishing-games__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

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

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important; /* Enforce full width */
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-fishing-games__section-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 30px;
    }

    .page-fishing-games__sub-title {
        font-size: clamp(1.3rem, 4vw, 1.8rem);
    }

    .page-fishing-games__text-block {
        font-size: 0.95rem;
    }

    .page-fishing-games__download-steps {
        flex-direction: column;
        gap: 30px;
    }

    .page-fishing-games__strategy-content {
        flex-direction: column;
        gap: 30px;
    }

    .page-fishing-games__promo-list {
        grid-template-columns: 1fr;
    }

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

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

    /* Mobile image responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__hero-section,
    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__cta-buttons,
    .page-fishing-games__download-steps,
    .page-fishing-games__platform-guide,
    .page-fishing-games__game-cards,
    .page-fishing-games__strategy-content,
    .page-fishing-games__strategy-text,
    .page-fishing-games__faq-list,
    .page-fishing-games__faq-item,
    .page-fishing-games__promo-list,
    .page-fishing-games__conclusion {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-fishing-games__hero-section {
        padding-top: 10px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .page-fishing-games__hero-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .page-fishing-games__hero-image {
        transform: translateY(0%);
    }

    .page-fishing-games__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
    }
}