/* style/fishing-games.css */

/* Base styles for the fishing-games page content */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Inherit from body or shared.css */
    padding-bottom: 60px; /* Space before footer */
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    height: 70vh; /* Adjust as needed */
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    box-sizing: border-box;
}

.page-fishing-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-fishing-games__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
    z-index: 2;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
    color: #ffffff;
}

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

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

.page-fishing-games__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: #ffffff; /* Default for dark sections */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
}

.page-fishing-games__sub-section-title {
    font-size: 1.8em;
    color: #ffffff; /* Default for dark sections */
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

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

/* Dark Section styling */
.page-fishing-games__dark-section {
    background-color: #017439; /* Main brand color */
    color: #ffffff;
    padding: 60px 0;
}
.page-fishing-games__dark-section .page-fishing-games__section-title,
.page-fishing-games__dark-section .page-fishing-games__sub-section-title {
    color: #ffffff;
}
.page-fishing-games__dark-section .page-fishing-games__text-block {
    color: #f0f0f0;
}


/* Light Section styling */
.page-fishing-games__light-bg {
    background-color: #ffffff; /* Auxiliary brand color */
    color: #333333;
    padding: 60px 0;
}
.page-fishing-games__light-bg .page-fishing-games__section-title,
.page-fishing-games__light-bg .page-fishing-games__sub-section-title {
    color: #017439;
}
.page-fishing-games__light-bg .page-fishing-games__text-block {
    color: #555555;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-register,
.page-fishing-games__btn-login {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1.1em;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
}

.page-fishing-games__btn-primary {
    background-color: #017439;
    color: #ffffff;
    border: 2px solid #017439;
}

.page-fishing-games__btn-primary:hover {
    background-color: #005f2e;
    border-color: #005f2e;
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: #e0e0e0;
    color: #017439;
}

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

.page-fishing-games__btn-register:hover {
    background-color: #a00606;
    border-color: #a00606;
}

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

.page-fishing-games__btn-login:hover {
    background-color: #a00606;
    border-color: #a00606;
}

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

.page-fishing-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

/* Cards */
.page-fishing-games__card {
    background-color: rgba(255, 255, 255, 0.1); /* Light transparent white on dark background */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
    height: 100%; /* Ensure cards in a grid have equal height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.page-fishing-games__light-bg .page-fishing-games__card {
    background-color: #ffffff; /* White background for cards in light sections */
    color: #333333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}
.page-fishing-games__light-bg .page-fishing-games__card .page-fishing-games__card-title {
    color: #017439;
}
.page-fishing-games__light-bg .page-fishing-games__card .page-fishing-games__card-description {
    color: #555555;
}


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

.page-fishing-games__card-title {
    font-size: 1.5em;
    margin-top: 15px;
    margin-bottom: 10px;
    color: #ffffff; /* Default for dark cards */
}

.page-fishing-games__card-description {
    font-size: 1em;
    color: #f0f0f0; /* Default for dark cards */
    flex-grow: 1; /* Allow description to take available space */
}

/* Images within cards/sections */
.page-fishing-games img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 0 auto 15px auto;
}

.page-fishing-games__feature-image {
    width: 100%; /* Ensure it takes full width of its card */
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

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

/* Games Showcase Grid */
.page-fishing-games__games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__game-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 15px;
}

/* Strategy Section */
.page-fishing-games__strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__strategy-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.page-fishing-games__strategy-item .page-fishing-games__card-title {
    color: #017439;
    margin-top: 10px;
}
.page-fishing-games__strategy-item .page-fishing-games__card-description {
    color: #555555;
    flex-grow: 1;
}

.page-fishing-games__strategy-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
}

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

.page-fishing-games__promotion-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
}

/* How to Join Section */
.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 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.page-fishing-games__step-card .page-fishing-games__card-title {
    font-size: 1.6em;
    color: #017439;
}
.page-fishing-games__step-card .page-fishing-games__card-description {
    color: #555555;
    flex-grow: 1;
}
.page-fishing-games__step-card .page-fishing-games__btn-register,
.page-fishing-games__step-card .page-fishing-games__btn-login,
.page-fishing-games__step-card .page-fishing-games__btn-primary {
    margin-top: 20px;
    width: 100%; /* Ensure buttons fill card width */
}