/* style/fishing-games.css */

/* Variables */
:root {
    --page-fishing-games-primary-color: #017439;
    --page-fishing-games-secondary-color: #FFFFFF;
    --page-fishing-games-text-dark: #333333;
    --page-fishing-games-text-light: #ffffff;
    --page-fishing-games-background-dark: #0a0a0a; /* Body background from shared.css */
    --page-fishing-games-button-register: #C30808;
    --page-fishing-games-button-login: #C30808;
    --page-fishing-games-button-text-yellow: #FFFF00; /* For register/login buttons */
}

/* Base styles for the page content */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-fishing-games-text-light); /* Light text for dark body background */
    background-color: var(--page-fishing-games-background-dark);
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

.page-fishing-games__section {
    padding: 60px 0;
    text-align: center;
}

.page-fishing-games__section-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--page-fishing-games-text-light);
    font-weight: bold;
}

.page-fishing-games__section-intro {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--page-fishing-games-text-light);
}

.page-fishing-games__text-dark {
    color: var(--page-fishing-games-text-dark);
}

.page-fishing-games__text-light {
    color: var(--page-fishing-games-text-light);
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--page-fishing-games-text-light);
    text-align: center;
    background-color: var(--page-fishing-games-primary-color); /* Fallback */
}

.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: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

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

.page-fishing-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--page-fishing-games-secondary-color);
    line-height: 1.2;
}

.page-fishing-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: var(--page-fishing-games-secondary-color);
}

.page-fishing-games__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Ensure buttons wrap on small screens */
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-link {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text break */
}

.page-fishing-games__btn-primary {
    background-color: var(--page-fishing-games-button-register); /* #C30808 */
    color: var(--page-fishing-games-button-text-yellow); /* #FFFF00 */
    border: 2px solid var(--page-fishing-games-button-register);
}

.page-fishing-games__btn-primary:hover {
    background-color: #9c0606; /* Slightly darker red */
    border-color: #9c0606;
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: var(--page-fishing-games-button-text-yellow); /* #FFFF00 */
    border: 2px solid var(--page-fishing-games-button-register); /* #C30808 */
}

.page-fishing-games__btn-secondary:hover {
    background-color: var(--page-fishing-games-button-register);
    color: var(--page-fishing-games-secondary-color);
}

.page-fishing-games__btn-link {
    background-color: var(--page-fishing-games-primary-color);
    color: var(--page-fishing-games-secondary-color);
    border: 2px solid var(--page-fishing-games-primary-color);
    padding: 10px 20px;
    font-size: 1em;
}

.page-fishing-games__btn-link:hover {
    background-color: #005a2e; /* Slightly darker green */
    border-color: #005a2e;
}


/* Features Grid */
.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-item {
    background-color: rgba(255, 255, 255, 0.1); /* Light background on dark body */
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: var(--page-fishing-games-text-light); /* Light text */
}

.page-fishing-games__feature-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: var(--page-fishing-games-secondary-color);
}

.page-fishing-games__feature-description {
    font-size: 1em;
    color: var(--page-fishing-games-text-light);
}

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

.page-fishing-games__game-card {
    background-color: var(--page-fishing-games-primary-color);
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

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

.page-fishing-games__game-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-fishing-games__game-title {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: var(--page-fishing-games-secondary-color);
}

.page-fishing-games__game-description {
    font-size: 1em;
    color: var(--page-fishing-games-text-light);
    margin-bottom: 20px;
}

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

.page-fishing-games__step-item {
    background-color: var(--page-fishing-games-secondary-color); /* Light background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--page-fishing-games-text-dark); /* Dark text */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-fishing-games__step-icon {
    width: 50px;
    height: 50px;
    background-color: var(--page-fishing-games-primary-color);
    color: var(--page-fishing-games-secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    margin: 0 auto 20px auto;
}

.page-fishing-games__step-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__step-description {
    font-size: 1em;
    color: var(--page-fishing-games-text-dark);
    margin-bottom: 20px;
}

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

.page-fishing-games__tip-item {
    background-color: var(--page-fishing-games-primary-color);
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

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

.page-fishing-games__tip-title {
    font-size: 1.8em;
    margin: 20px 20px 10px 20px;
    color: var(--page-fishing-games-secondary-color);
}

.page-fishing-games__tip-description {
    font-size: 1em;
    color: var(--page-fishing-games-text-light);
    padding: 0 20px 20px 20px;
}

/* Promotions 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__promotion-card {
    background-color: var(--page-fishing-games-secondary-color); /* Light background */
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

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

.page-fishing-games__promotion-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-fishing-games__promotion-title {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__promotion-description {
    font-size: 1em;
    color: var(--page-fishing-games-text-dark);
    margin-bottom: 20px;
}

/* FAQ Section */
.page-fishing-games__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-fishing-games__faq-item {
    background-color: var(--page-fishing-games-primary-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: var(--page-fishing-games-primary-color);
    color: var(--page-fishing-games-secondary-color);
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    background-color: #005a2e; /* Slightly darker green */
}

.page-fishing-games__faq-title {
    margin: 0;
    font-size: 1.2em; /* Adjusted for better hierarchy */
    color: var(--page-fishing-games-secondary-color);
}