.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Light text for dark body background */
    background-color: #121212; /* Inherited from body via shared.css */
}

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

/* Color contrast adjustments for sections */
.page-fishing-games__dark-bg {
    background-color: #017439; /* Primary brand color */
    color: #ffffff; /* White text for primary dark background */
}

.page-fishing-games__light-bg {
    background-color: #f5f5f5; /* Light grey background */
    color: #333333; /* Dark text for light background */
}

/* Header offset */
.page-fishing-games__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-fishing-games__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: inherit; /* Inherit color from parent section */
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: inherit; /* Inherit color from parent section */
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    padding: 80px 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image: linear-gradient(to right, #017439, #005a2e); /* Gradient based on primary color */
}

.page-fishing-games__hero-section .page-fishing-games__container {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.page-fishing-games__hero-content {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.page-fishing-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.page-fishing-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-fishing-games__hero-image-wrapper {
    flex: 1;
    min-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-fishing-games__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* CTA Buttons */
.page-fishing-games__cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-fishing-games__cta-buttons--center {
    justify-content: center;
    margin-top: 40px;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Ensure padding is included in width */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-fishing-games__btn-primary {
    background-color: #C30808; /* Custom color for register/login */
    color: #FFFF00; /* Custom font color for register/login */
    border: 2px solid #C30808;
}

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

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: #ffffff; /* White text for secondary button on dark background */
    border: 2px solid #ffffff;
}

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

.page-fishing-games__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-fishing-games__btn-large {
    padding: 18px 35px;
    font-size: 1.2em;
    min-width: 220px; /* Ensure buttons have a minimum width */
}

/* General Section Styling */
.page-fishing-games__introduction-section,
.page-fishing-games__game-types-section,
.page-fishing-games__strategies-section,
.page-fishing-games__download-section,
.page-fishing-games__faq-section {
    padding: 80px 0;
}

.page-fishing-games__highlights-section,
.page-fishing-games__promotions-section,
.page-fishing-games__security-section,
.page-fishing-games__cta-final-section {
    padding: 80px 0;
}

/* 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-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: #ffffff;
}

.page-fishing-games__feature-card:hover {
    transform: translateY(-5px);
}

.page-fishing-games__feature-icon {
    width: 100%; /* Example size, adjust as needed */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px; /* Slightly rounded corners for images */
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px;
}

.page-fishing-games__feature-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-fishing-games__feature-description {
    font-size: 1em;
    color: #f0f0f0;
}

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

.page-fishing-games__game-card {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: #333333;
}

.page-fishing-games__game-card:hover {
    transform: translateY(-5px);
}

.page-fishing-games__game-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px;
}

.page-fishing-games__game-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #017439; /* Brand color for titles on light background */
}

.page-fishing-games__game-description {
    font-size: 0.95em;
    color: #555555;
}

/* Instructions & Strategies */
.page-fishing-games__instruction-list,
.page-fishing-games__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-fishing-games__instruction-item,
.page-fishing-games__strategy-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.page-fishing-games__instruction-title,
.page-fishing-games__strategy-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #FFFF00; /* Yellow for key titles on dark background */
}

/* Promotions */
.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: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-fishing-games__promo-card:hover {
    transform: translateY(-5px);
}

.page-fishing-games__promo-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px;
}

.page-fishing-games__promo-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #FFFF00; /* Yellow for titles on dark background */
}

.page-fishing-games__promo-description {
    font-size: 0.95em;
    color: #f0f0f0;
    flex-grow: 1; /* Push button to bottom */
    margin-bottom: 20px;
}

/* Download Section */
.page-fishing-games__download-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.page-fishing-games__download-text {
    flex: 1;
    min-width: 300px;
}

.page-fishing-games__app-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-fishing-games__download-image-wrapper {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-fishing-games__download-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px;
}

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

.page-fishing-games__security-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.page-fishing-games__security-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #FFFF00; /* Yellow for titles on dark background */
}

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

.page-fishing-games__faq-item {
    background-color: #ffffff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    color: #333333;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: #f9f9f9;
    color: #017439; /* Brand color for questions */
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    background-color: #f0f0f0;
}

.page-fishing-games__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: inherit;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #C30808; /* Red for toggle icon */
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    transform: rotate(45deg); /* Plus sign to X or minus */
}

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
    background-color: #ffffff;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 1000px !important; /* Ensure it expands sufficiently */
    padding: 15px 25px 25px 25px;
}

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

/* Final CTA */
.page-fishing-games__cta-final-section {
    padding: 100px 0;
    text-align: center;
    background-image: linear-gradient(to right, #017439, #005a2e); /* Gradient based on primary color */
}

.page-fishing-games__cta-final-content .page-fishing-games__section-title {
    color: #ffffff;
}

.page-fishing-games__cta-final-content .page-fishing-games__text-block {
    color: #f0f0f0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__cta-final-content .page-fishing-games__app-buttons {
    justify-content: center;
}