:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --bg-primary: #08160F; /* Background */
    --bg-card: #11271B; /* Card Background */
    --text-main: #F2FFF6; /* Main Text */
    --text-secondary: #A7D9B8; /* Secondary Text */
    --border-color: #2E7A4E; /* Border */
    --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    --glow-color: #57E38D; /* Glow */
    --gold-color: #F2C14E; /* Gold */
    --divider-color: #1E3A2A; /* Divider */
    --deep-green: #0A4B2C; /* Deep Green */
}

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

.page-fishing-games__section {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--bg-primary);
}

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

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

.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    text-align: center;
    overflow: hidden;
    background-color: var(--bg-primary);
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px; /* Space between image and text */
}

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

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.page-fishing-games__main-title {
    color: var(--gold-color);
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

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

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

.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;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%; /* Ensure buttons don't overflow on small screens */
}

.page-fishing-games__btn-primary {
    background: var(--btn-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

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

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

.page-fishing-games__btn-secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
}

.page-fishing-games__btn-inline {
    margin-top: 20px;
}

.page-fishing-games__section-title {
    color: var(--text-main);
    font-size: 2.5em;
    margin-bottom: 20px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.page-fishing-games__section-description {
    color: var(--text-secondary);
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 40px;
}

.page-fishing-games__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    margin-top: 40px;
}

.page-fishing-games__content-wrapper--reverse {
    flex-direction: row-reverse;
}

.page-fishing-games__text-block {
    flex: 1;
    min-width: 0;
}

.page-fishing-games__text-block p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 15px;
}

.page-fishing-games__text-block strong {
    color: var(--text-main);
}

.page-fishing-games__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 200px; /* Minimum width for image block */
}

.page-fishing-games__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

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

.page-fishing-games__card {
    background-color: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--border-color);
}

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

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

.page-fishing-games__card-title {
    color: var(--gold-color);
    font-size: 1.4em;
    margin: 20px 15px 10px;
    line-height: 1.3;
}

.page-fishing-games__card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-fishing-games__card-title a:hover {
    color: var(--glow-color);
}

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

.page-fishing-games__card-button {
    margin: 0 15px 20px;
    width: calc(100% - 30px);
}

.page-fishing-games__sub-title {
    color: var(--text-main);
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
}

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

.page-fishing-games__list-item {
    background-color: var(--deep-green);
    color: var(--text-secondary);
    padding: 12px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-left: 4px solid var(--primary-color);
}

.page-fishing-games__list-item strong {
    color: var(--text-main);
}

.page-fishing-games__view-all-promos {
    margin-top: 40px;
}

.page-fishing-games__faq-list {
    margin-top: 40px;
    text-align: left;
}

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

.page-fishing-games__faq-item:hover {
    background-color: var(--deep-green);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: var(--text-main);
    cursor: pointer;
    user-select: none;
    transition: color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
    color: var(--gold-color);
}

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    color: var(--gold-color);
}

.page-fishing-games__faq-answer {
    padding: 0 25px 20px;
    color: var(--text-secondary);
    line-height: 1.7;
}

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

.page-fishing-games__cta-final-section {
    background-color: var(--deep-green);
    padding: 80px 20px;
}

.page-fishing-games__cta-final-section .page-fishing-games__section-title {
    color: var(--gold-color);
}

.page-fishing-games__cta-final-section .page-fishing-games__section-description {
    color: var(--text-main);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-fishing-games__content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .page-fishing-games__content-wrapper--reverse {
        flex-direction: column;
    }
    .page-fishing-games__image-block {
        margin-top: 30px;
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__hero-section {
        padding: 10px 15px 40px;
    }
    .page-fishing-games__main-title {
        font-size: 2.2em;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
    }
    .page-fishing-games__game-cards-grid,
    .page-fishing-games__promotions-grid {
        grid-template-columns: 1fr;
    }
    .page-fishing-games__card-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__section {
        padding: 40px 15px;
    }
    .page-fishing-games__container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__hero-section {
        padding-top: 10px !important; /* body has padding-top, this is decorative */
    }
    .page-fishing-games__main-title {
        font-size: 1.8em;
    }
    .page-fishing-games__hero-description {
        font-size: 0.95em;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95em;
    }

    /* Images responsive for mobile */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Ensure containers with images/content are responsive */
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__content-wrapper,
    .page-fishing-games__text-block,
    .page-fishing-games__image-block,
    .page-fishing-games__hero-section,
    .page-fishing-games__hero-image-wrapper {
        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-image-wrapper, .page-fishing-games__image-block {
      padding-left: 0;
      padding-right: 0;
    }

    .page-fishing-games__list-item {
        font-size: 0.9em;
        padding: 10px 15px;
    }
    .page-fishing-games__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-fishing-games__faq-answer {
        padding: 0 20px 15px;
    }
}