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

/* General page styles */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--color-text-main); /* Default text color for the page */
    background-color: var(--color-background); /* Ensure body background is dark */
    line-height: 1.6;
    padding-bottom: 60px;
}

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

.page-fishing-games__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    padding-top: 40px;
}

.page-fishing-games__sub-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--color-text-main);
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.3;
}

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

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

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

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons are responsive */
}

.page-fishing-games__btn-primary {
    background: var(--color-button-gradient-start);
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-fishing-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

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

.page-fishing-games__btn-secondary:hover {
    background: rgba(34, 199, 104, 0.1);
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* 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: 600px;
    overflow: hidden;
    margin-bottom: 40px;
}

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

.page-fishing-games__hero-content {
    max-width: 800px;
    margin-top: -100px; /* Adjust to slightly overlay content on image for visual flow */
    position: relative; /* Ensure content is above any background effects */
    z-index: 1;
    padding: 0 20px;
}

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

.page-fishing-games__hero-content .page-fishing-games__description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--color-text-secondary);
}

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

/* Intro Section */
.page-fishing-games__intro-section {
    padding: 60px 0;
}

.page-fishing-games__intro-section .page-fishing-games__container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-fishing-games__content-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

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

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

.page-fishing-games__list-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-gold);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Video Section */
.page-fishing-games__video-section {
    padding: 60px 0;
    text-align: center;
}

.page-fishing-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.page-fishing-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    cursor: pointer;
}

/* Game Showcase */
.page-fishing-games__games-showcase {
    padding: 60px 0;
}

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

.page-fishing-games__card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 20px;
}

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

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

.page-fishing-games__card-title {
    font-size: 1.5rem;
    color: var(--color-text-main);
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-fishing-games__card-text {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
    padding: 0 15px;
}

/* How To Play Section */
.page-fishing-games__how-to-play {
    padding: 60px 0;
}

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

.page-fishing-games__step-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-fishing-games__step-icon {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(34, 199, 104, 0.5));
}

.page-fishing-games__step-title {
    font-size: 1.6rem;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.page-fishing-games__step-text {
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

/* Strategy Section */
.page-fishing-games__strategy-section {
    padding: 60px 0;
}

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

.page-fishing-games__strategy-item {
    text-align: center;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--color-divider);
    transition: border-color 0.3s ease;
}

.page-fishing-games__strategy-item:hover {
    border-color: var(--color-gold);
}

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

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 60px 0;
}

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

.page-fishing-games__promotion-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 20px;
}

.page-fishing-games__promotion-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.5);
}

.page-fishing-games__promotion-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 15px;
    display: block;
}

/* Security & Support Section */
.page-fishing-games__security-support {
    padding: 60px 0;
}

.page-fishing-games__security-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.page-fishing-games__security-content .page-fishing-games__text-block {
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--color-divider);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.page-fishing-games__security-content .page-fishing-games__text-block .page-fishing-games__btn-primary,
.page-fishing-games__security-content .page-fishing-games__text-block .page-fishing-games__btn-secondary {
    margin-top: auto;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 60px 0;
}

.page-fishing-games__faq-list {
    margin-top: 30px;
}

.page-fishing-games__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.page-fishing-games__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text-main);
    cursor: pointer;
    background-color: var(--color-card-bg);
    list-style: none; /* Remove default marker */
}

.page-fishing-games__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-fishing-games__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-fishing-games__faq-answer {
    padding: 20px 25px;
    background-color: rgba(17, 39, 27, 0.7); /* Slightly lighter background for answer */
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    border-top: 1px solid var(--color-divider);
}

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

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

/* Conclusion Section */
.page-fishing-games__conclusion-section {
    padding: 60px 0;
    text-align: center;
}

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

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-fishing-games__hero-content {
        margin-top: -50px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding-bottom: 40px;
    }
    .page-fishing-games__hero-content {
        margin-top: 0;
        padding: 0 15px;
    }
    .page-fishing-games__main-title {
        font-size: 2.2rem;
    }
    .page-fishing-games__hero-content .page-fishing-games__description {
        font-size: 1rem;
    }
    .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% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fishing-games__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
        padding-top: 20px;
    }
    .page-fishing-games__sub-title {
        font-size: 1.2rem;
    }
    .page-fishing-games__description,
    .page-fishing-games__text-block,
    .page-fishing-games__list-item {
        font-size: 0.95rem;
    }

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

    .page-fishing-games__intro-section,
    .page-fishing-games__video-section,
    .page-fishing-games__games-showcase,
    .page-fishing-games__how-to-play,
    .page-fishing-games__strategy-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__security-support,
    .page-fishing-games__faq-section,
    .page-fishing-games__conclusion-section {
        padding: 40px 0;
    }

    /* Mobile image and video responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games video,
    .page-fishing-games__video {
        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__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,
    .page-fishing-games__intro-section .page-fishing-games__container,
    .page-fishing-games__games-showcase .page-fishing-games__container,
    .page-fishing-games__how-to-play .page-fishing-games__container,
    .page-fishing-games__strategy-section .page-fishing-games__container,
    .page-fishing-games__promotions-section .page-fishing-games__container,
    .page-fishing-games__security-support .page-fishing-games__container,
    .page-fishing-games__faq-section .page-fishing-games__container,
    .page-fishing-games__conclusion-section .page-fishing-games__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    .page-fishing-games__video-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    .page-fishing-games__video-wrapper {
        padding-bottom: 75% !important; /* Adjust aspect ratio for mobile */
    }

    .page-fishing-games__faq-item summary {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-fishing-games__faq-answer {
        padding: 15px 20px;
        font-size: 0.9rem;
    }
    .page-fishing-games__faq-toggle {
        font-size: 1.5rem;
    }
}