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

.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main-color);
    background-color: var(--background-color-dark); /* Inherits from body via shared.css */
}

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

.page-fishing-games__dark-section {
    background-color: var(--background-color-dark);
    color: var(--text-main-color);
    padding: 60px 0;
}

.page-fishing-games__light-bg {
    background-color: var(--light-bg-color);
    color: var(--dark-text-color);
    padding: 60px 0;
}

.page-fishing-games__center-text {
    text-align: center;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    text-align: center;
    overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-fishing-games__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    max-width: 900px;
    padding: 20px;
    box-sizing: border-box;
    color: var(--text-main-color);
}

.page-fishing-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: bold;
    color: var(--gold-color);
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-secondary-color);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Buttons */
.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.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main-color);
    border: 2px solid var(--primary-color);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

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

.page-fishing-games__btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background-color: var(--primary-color);
    color: var(--text-main-color);
}

/* Section Titles */
.page-fishing-games__section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: bold;
    margin-bottom: 40px;
    text-align: center;
    color: var(--primary-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__sub-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--gold-color);
}

.page-fishing-games__light-bg .page-fishing-games__sub-title {
    color: var(--primary-color);
}

.page-fishing-games__text-block {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.page-fishing-games__light-bg .page-fishing-games__text-block {
    color: var(--dark-text-color);
}

/* Intro Section */
.page-fishing-games__image-text-grid {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

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

.page-fishing-games__text-content {
    flex: 1;
}

.page-fishing-games__feature-list {
    list-style: none;
    padding: 0;
}

.page-fishing-games__feature-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    position: relative;
    padding-left: 30px;
    color: var(--dark-text-color);
}

.page-fishing-games__dark-section .page-fishing-games__feature-list li {
    color: var(--text-secondary-color);
}

.page-fishing-games__feature-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

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

.page-fishing-games__game-card {
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    padding: 25px;
    background-color: var(--card-bg-color);
    color: var(--text-main-color);
    border: 1px solid var(--border-color);
}

.page-fishing-games__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    max-width: 100%;
    display: block;
}

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

.page-fishing-games__card-description {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--text-secondary-color);
}

/* Guide Section */
.page-fishing-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-fishing-games__step-item {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--primary-color);
    color: var(--dark-text-color);
}

.page-fishing-games__step-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-fishing-games__center-cta {
    text-align: center;
    margin-top: 50px;
}

/* Login Register Section */
.page-fishing-games__login-register-flex {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    justify-content: center;
}

.page-fishing-games__login-block,
.page-fishing-games__register-block {
    flex: 1;
    min-width: 300px;
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    background-color: var(--card-bg-color);
    color: var(--text-main-color);
    border: 1px solid var(--border-color);
}

.page-fishing-games__login-block p,
.page-fishing-games__register-block p {
    color: var(--text-secondary-color);
    margin-bottom: 25px;
}

.page-fishing-games__image-right {
    margin-top: 50px;
    text-align: center;
}

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

.page-fishing-games__promo-card {
    background-color: #ffffff;
    color: var(--dark-text-color);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid #e0e0e0;
}

.page-fishing-games__promo-card .page-fishing-games__card-title {
    color: var(--primary-color);
}

.page-fishing-games__promo-card .page-fishing-games__card-description {
    color: var(--dark-text-color);
}

/* Security Section */
.page-fishing-games__security-content {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.page-fishing-games__security-list {
    flex: 1;
    list-style: none;
    padding: 0;
}

.page-fishing-games__security-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    position: relative;
    padding-left: 30px;
    color: var(--text-secondary-color);
}

.page-fishing-games__security-list li::before {
    content: '🛡️';
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.page-fishing-games__security-image {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile Section */
.page-fishing-games__mobile-flex {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.page-fishing-games__mobile-image {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    max-width: 100%;
    height: auto;
    display: block;
}

.page-fishing-games__mobile-content {
    flex: 1;
}

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

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--gold-color);
    background-color: var(--deep-green-color);
    border-bottom: 1px solid var(--border-color);
    list-style: none;
}

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

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

.page-fishing-games__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--text-main-color);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    transform: rotate(45deg);
}

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

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

/* CTA Section */
.page-fishing-games__cta-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-content {
        max-width: 700px;
    }
    .page-fishing-games__image-text-grid,
    .page-fishing-games__login-register-flex,
    .page-fishing-games__security-content,
    .page-fishing-games__mobile-flex {
        flex-direction: column;
        text-align: center;
    }
    .page-fishing-games__image-text-grid .page-fishing-games__text-content,
    .page-fishing-games__security-content .page-fishing-games__security-list,
    .page-fishing-games__mobile-content {
        order: 2; /* Text after image on mobile */
    }
    .page-fishing-games__image-text-grid .page-fishing-games__content-image,
    .page-fishing-games__security-image,
    .page-fishing-games__mobile-image {
        order: 1;
        margin-bottom: 30px;
    }
    .page-fishing-games__hero-image {
        filter: brightness(0.5); /* More darken on smaller screens */
    }
    .page-fishing-games__hero-content {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-content {
        padding: 15px;
    }
    .page-fishing-games__main-title {
        font-size: 2.2rem;
    }
    .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 {
        padding: 12px 20px;
        font-size: 1rem;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 0 auto; /* Center buttons */
    }
    .page-fishing-games__section-title {
        font-size: 1.8rem;
    }
    .page-fishing-games__sub-title {
        font-size: 1.5rem;
    }
    .page-fishing-games__text-block {
        font-size: 0.95rem;
    }
    .page-fishing-games__container,
    .page-fishing-games__hero-section,
    .page-fishing-games__intro-section,
    .page-fishing-games__popular-games-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__login-register-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__security-section,
    .page-fishing-games__mobile-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-section {
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .page-fishing-games__hero-section {
        padding-top: 10px !important;
    }
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .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;
        overflow: hidden !important;
    }
    .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: 0;
        padding-right: 0;
        flex-direction: column !important;
        gap: 10px;
    }
    .page-fishing-games__step-item,
    .page-fishing-games__promo-card,
    .page-fishing-games__login-block,
    .page-fishing-games__register-block {
        width: 100%;
    }
    .page-fishing-games__image-text-grid .page-fishing-games__text-content,
    .page-fishing-games__security-content .page-fishing-games__security-list,
    .page-fishing-games__mobile-content {
        text-align: left;
    }
    .page-fishing-games__hero-image-wrapper .page-fishing-games__hero-image {
        height: 400px; /* Adjust hero image height for mobile */
    }
    .page-fishing-games__hero-content {
        position: static;
        transform: none;
        padding: 30px 15px; /* Adjust padding for content below image */
        background-color: var(--background-color-dark); /* Ensure text block has background */
        width: 100%;
    }
    .page-fishing-games__hero-image-wrapper {
        position: relative;
        width: 100%;
    }
    .page-fishing-games__hero-section {
        flex-direction: column;
        padding: 0;
    }
    .page-fishing-games__image-right {
        margin-top: 30px;
    }
    .page-fishing-games__login-register-flex {
        flex-direction: column;
        gap: 20px;
    }
    .page-fishing-games__security-content {
        flex-direction: column;
    }
    .page-fishing-games__mobile-flex {
        flex-direction: column;
    }
}