.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #f8f8f8; /* Slightly off-white background for main content */
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
    background-color: #017439; /* Brand color as background */
    padding-top: 10px; /* Small top padding for inner page, relying on body padding for header offset */
}

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

.page-fishing-games__hero-content {
    position: relative;
    padding: 40px 20px;
    text-align: center;
    color: #ffffff; /* White text on brand color background */
    max-width: 900px;
    margin: 0 auto;
}

.page-fishing-games__main-title {
    font-size: clamp(28px, 4vw, 48px); /* Responsive font size for H1 */
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #FFFF00; /* Register/Login font color for H1 as per custom color */
}

.page-fishing-games__description {
    font-size: clamp(16px, 2vw, 20px);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Section Titles */
.page-fishing-games__section-title {
    font-size: clamp(24px, 3.5vw, 38px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: #017439; /* Brand color for titles on light background */
}
.page-fishing-games__dark-bg .page-fishing-games__section-title {
    color: #FFFF00; /* Yellow for titles on dark background */
}

.page-fishing-games__text-block {
    font-size: 17px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.7;
}
.page-fishing-games__dark-bg .page-fishing-games__text-block {
    color: #f0f0f0;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    max-width: 100%; /* Ensure buttons adapt to mobile */
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background-color: #C30808; /* Register/Login button color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

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

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: #FFFF00; /* Yellow for secondary on dark bg */
    border: 2px solid #FFFF00;
}
.page-fishing-games__hero-content .page-fishing-games__btn-secondary {
    color: #FFFF00; /* Yellow for secondary on hero */
    border-color: #FFFF00;
}
.page-fishing-games__light-bg .page-fishing-games__btn-secondary {
    color: #017439; /* Brand color for secondary on light bg */
    border-color: #017439;
}

.page-fishing-games__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.page-fishing-games__btn-play {
    background-color: #017439;
    color: #ffffff;
    border: none;
    font-size: 16px;
    padding: 10px 20px;
    margin-top: 15px;
}
.page-fishing-games__btn-play:hover {
    background-color: #005a2e;
}


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

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

.page-fishing-games__feature-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}
.page-fishing-games__feature-item:hover {
    transform: translateY(-5px);
}
.page-fishing-games__feature-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-fishing-games__feature-title {
    font-size: 24px;
    font-weight: 600;
    color: #017439;
    margin-bottom: 15px;
}

.page-fishing-games__feature-description {
    font-size: 16px;
    color: #555555;
}

/* Games Showcase Section */
.page-fishing-games__games-showcase {
    padding: 60px 0;
    background-color: #017439; /* Brand color for dark background */
    color: #ffffff;
}
.page-fishing-games__games-showcase .page-fishing-games__section-title {
    color: #FFFF00; /* Yellow title on dark background */
}
.page-fishing-games__games-showcase .page-fishing-games__text-block {
    color: #f0f0f0;
}

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

.page-fishing-games__game-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}
.page-fishing-games__game-card:hover {
    transform: translateY(-5px);
}
.page-fishing-games__game-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}
.page-fishing-games__game-title {
    font-size: 22px;
    font-weight: 600;
    color: #FFFF00; /* Yellow title on dark card */
    margin-bottom: 10px;
}