:root {
    --color-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --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;
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--color-text-main); /* Default text color for the page */
    background-color: var(--color-background);
    line-height: 1.6;
}

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

.page-fishing-games__section {
    padding: 60px 0;
    text-align: center;
    position: relative;
}

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

.page-fishing-games__section-title {
    font-size: clamp(2em, 2.5vw, 3.5em); /* H1 rules applied to H2 for consistency as H1 is in hero */
    color: var(--color-gold);
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.4);
}

.page-fishing-games__sub-title {
    font-size: 1.8em;
    color: var(--color-gold);
    margin-top: 40px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-fishing-games__mini-title {
    font-size: 1.4em;
    color: var(--color-text-main);
    margin-top: 30px;
    margin-bottom: 10px;
    font-weight: 500;
}

.page-fishing-games__section-description,
.page-fishing-games__text-block {
    font-size: 1.1em;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__highlight {
    color: var(--color-gold);
    font-weight: bold;
}

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

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

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 200px; /* Ensure minimum size */
}

.page-fishing-games__hero-content {
    position: relative; /* Not absolute to avoid overlaying image */
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    background-color: var(--color-background); /* Ensure contrast */
    margin-top: -50px; /* Slight overlap for visual appeal, but not covering image */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 10; /* Ensure content is above other elements if any */
}

.page-fishing-games__main-title {
    font-size: clamp(2.5em, 4vw, 3.8em);
    color: var(--color-gold);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

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

/* CTA Buttons */
.page-fishing-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.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.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background: var(--color-button-gradient);
    color: var(--color-text-main);
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

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

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

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

.page-fishing-games__centered-btn {
    margin-top: 30px;
    margin-bottom: 30px;
}

/* Intro Section */
.page-fishing-games__intro-section .page-fishing-games__content-wrapper {
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
}

.page-fishing-games__list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    text-align: left;
}

.page-fishing-games__list li {
    background-color: var(--color-card-bg);
    border-left: 5px solid var(--color-gold);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-size: 1.05em;
    color: var(--color-text-main);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.page-fishing-games__list-item-title {
    color: var(--color-gold);
    font-weight: bold;
    margin-right: 5px;
}

.page-fishing-games__numbered-list {
    list-style: none;
    counter-reset: my-awesome-counter;
    padding: 0;
    margin-top: 20px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__numbered-list li {
    counter-increment: my-awesome-counter;
    background-color: var(--color-card-bg);
    padding: 15px 20px 15px 50px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-size: 1.05em;
    color: var(--color-text-main);
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.page-fishing-games__numbered-list li::before {
    content: counter(my-awesome-counter);
    background-color: var(--color-gold);
    color: var(--color-background);
    font-weight: bold;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9em;
}

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

.page-fishing-games__card {
    background-color: var(--color-card-bg);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-border);
    color: var(--color-text-main); /* Ensure card text is main color */
}

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

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

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

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

.page-fishing-games__card-btn {
    margin-top: auto;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--color-text-main);
    background-color: var(--color-deep-green); /* Darker background for question */
    border-bottom: 1px solid var(--color-divider);
    list-style: none; /* For details/summary */
}

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

.page-fishing-games__faq-question:hover {
    background-color: rgba(10, 75, 44, 0.8);
}

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

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

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

/* Conclusion Section */
.page-fishing-games__conclusion-section .page-fishing-games__cta-buttons {
    margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-content {
        margin-top: -30px;
        padding: 30px 20px;
    }
    .page-fishing-games__section {
        padding: 40px 0;
    }
    .page-fishing-games__section-title {
        font-size: 2.2em;
    }
    .page-fishing-games__sub-title {
        font-size: 1.6em;
    }
    .page-fishing-games__hero-image {
        max-height: 500px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__container {
        padding: 0 15px !important;
    }
    .page-fishing-games__hero-section {
        padding-top: 10px !important; /* body handles --header-offset, this is decorative */
    }
    .page-fishing-games__hero-content {
        margin-top: -20px;
        padding: 25px 15px;
    }
    .page-fishing-games__main-title {
        font-size: 2em;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-fishing-games__game-cards-grid,
    .page-fishing-games__promotion-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-fishing-games__card-image {
        height: 180px;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
    }
    .page-fishing-games__sub-title {
        font-size: 1.4em;
    }
    .page-fishing-games__text-block,
    .page-fishing-games__section-description,
    .page-fishing-games__list li,
    .page-fishing-games__numbered-list li,
    .page-fishing-games__faq-question,
    .page-fishing-games__faq-answer {
        font-size: 0.95em;
    }
    .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-image-wrapper,
    .page-fishing-games__game-cards-grid,
    .page-fishing-games__promotion-cards-grid,
    .page-fishing-games__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* padding-left and padding-right already handled by .page-fishing-games__container */
    }
    .page-fishing-games__hero-image-wrapper {
        overflow: hidden !important;
    }
    .page-fishing-games__faq-question {
        padding: 15px 20px;
    }
    .page-fishing-games__faq-answer {
        padding: 0 20px 15px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__main-title {
        font-size: 1.8em;
    }
    .page-fishing-games__hero-description {
        font-size: 0.9em;
    }
    .page-fishing-games__section-title {
        font-size: 1.6em;
    }
    .page-fishing-games__sub-title {
        font-size: 1.2em;
    }
    .page-fishing-games__hero-content {
        padding: 20px 10px;
    }
    .page-fishing-games__section {
        padding: 30px 0;
    }
}