/* style/fishing-games.css */

/* Base styles for the page content */
.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light body background */
    background-color: #ffffff; /* Default light background */
}

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: #017439; /* Brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

/* Buttons */
.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;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
    max-width: 100%; /* Ensure buttons don't overflow */
}

.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;
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.page-fishing-games__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    background-color: #017439; /* Brand dark green */
    color: #FFFFFF;
    overflow: hidden;
    padding: 60px 20px; /* Add some padding for content inside */
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin-right: 40px;
}

.page-fishing-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Overlay effect */
    filter: none; /* Ensure no color filter */
}

.page-fishing-games__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Intro Section */
.page-fishing-games__intro-section {
    padding: 80px 0;
    background-color: #ffffff;
    color: #333333;
}

/* Why Choose Section */
.page-fishing-games__why-choose-section {
    padding: 80px 0;
    background-color: #017439; /* Brand dark green */
    color: #FFFFFF;
}

.page-fishing-games__why-choose-section .page-fishing-games__section-title {
    color: #FFFFFF;
}

.page-fishing-games__features-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 for contrast */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-fishing-games__feature-icon {
    width: 100%; /* Ensure image fills card width responsively */
    height: auto;
    max-width: 150px; /* Adjust max width for icons */
    margin-bottom: 20px;
    filter: none; /* Ensure no color filter */
    min-width: 200px; /* Min size for images */
    min-height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

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

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

/* Games Showcase Section */
.page-fishing-games__games-showcase {
    padding: 80px 0;
    background-color: #ffffff;
    color: #333333;
}

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

.page-fishing-games__game-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-fishing-games__game-image {
    width: 100%;
    height: auto;
    max-width: 400px; /* Max width for game images */
    margin-bottom: 15px;
    border-radius: 8px;
    filter: none; /* Ensure no color filter */
    min-width: 200px; /* Min size for images */
    min-height: 200px;
    object-fit: cover;
}

.page-fishing-games__game-title {
    font-size: 1.3em;
    margin-bottom: 10px;
}

.page-fishing-games__game-title a {
    color: #017439; /* Brand color for game titles */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-fishing-games__game-title a:hover {
    color: #005f2e;
    text-decoration: underline;
}

.page-fishing-games__game-description {
    font-size: 0.95em;
    color: #555555;
    flex-grow: 1; /* Allow description to take available space */
}

/* How to Play Section */
.page-fishing-games__how-to-play-section {
    padding: 80px 0;
    background-color: #f0f0f0;
    color: #333333;
}

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

.page-fishing-games__step-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-fishing-games__step-card .page-fishing-games__card-title {
    color: #017439;
    font-size: 1.4em;
    margin-bottom: 15px;
}

.page-fishing-games__step-card .page-fishing-games__card-description {
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-fishing-games__step-card .page-fishing-games__btn-primary {
    width: 100%;
    max-width: 200px; /* Limit width of small buttons */
    margin-top: auto; /* Push button to bottom */
}

/* Tips Section */
.page-fishing-games__tips-section {
    padding: 80px 0;
    background-color: #017439; /* Brand dark green */
    color: #FFFFFF;
}

.page-fishing-games__tips-section .page-fishing-games__section-title {
    color: #FFFFFF;
}

.page-fishing-games__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-fishing-games__list-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__list-title {
    font-size: 1.4em;
    color: #FFFFFF;
    margin-bottom: 10px;
}

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

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 80px 0;
    background-color: #ffffff;
    color: #333333;
}

.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: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-fishing-games__promo-image {
    width: 100%;
    height: auto;
    max-width: 400px; /* Max width for promo images */
    margin-bottom: 15px;
    border-radius: 8px;
    filter: none; /* Ensure no color filter */
    min-width: 200px; /* Min size for images */
    min-height: 200px;
    object-fit: cover;
}

.page-fishing-games__promo-card .page-fishing-games__card-title {
    color: #017439;
    font-size: 1.4em;
    margin-bottom: 10px;
}

.page-fishing-games__promo-card .page-fishing-games__card-description {
    color: #555555;
    flex-grow: 1;
}

.page-fishing-games__cta-center {
    text-align: center;
    margin-top: 50px;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 80px 0;
    background-color: #017439; /* Brand dark green */
    color: #FFFFFF;
}

.page-fishing-games__faq-section .page-fishing-games__section-title {
    color: #FFFFFF;
}

.page-fishing-games__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.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: bold;
    color: #FFFFFF;
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

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