/* style/fishing-games.css */

/* Base styles for the fishing games page */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--dark-bg-1, #0d0d0d); /* Assuming shared.css defines --dark-bg-1 as a dark color */
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

/* Section styling */
.page-fishing-games__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand main color for titles */
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-fishing-games__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #555555;
}

/* Dark background sections */
.page-fishing-games__dark-section {
    background-color: #26A9E0; /* Using brand main color as a dark background */
    color: #ffffff; /* White text for dark backgrounds */
    padding: 60px 0;
}

.page-fishing-games__dark-section .page-fishing-games__section-title,
.page-fishing-games__dark-section .page-fishing-games__section-description,
.page-fishing-games__dark-section .page-fishing-games__feature-title,
.page-fishing-games__dark-section .page-fishing-games__feature-text,
.page-fishing-games__dark-section .page-fishing-games__game-title,
.page-fishing-games__dark-section .page-fishing-games__game-description,
.page-fishing-games__dark-section .page-fishing-games__step-title,
.page-fishing-games__dark-section .page-fishing-games__step-text,
.page-fishing-games__dark-section .page-fishing-games__faq-title,
.page-fishing-games__dark-section .page-fishing-games__faq-toggle,
.page-fishing-games__dark-section .page-fishing-games__faq-answer p {
    color: #ffffff; /* Ensure all text elements are white on dark background */
}

/* Light background sections */
.page-fishing-games__light-bg {
    background-color: #ffffff; /* White background */
    color: #333333; /* Dark text for light backgrounds */
    padding: 60px 0;
}

.page-fishing-games__light-bg .page-fishing-games__section-title {
    color: #26A9E0;
}

.page-fishing-games__light-bg .page-fishing-games__section-description {
    color: #555555;
}

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

.page-fishing-games__cta-buttons--center {
    margin-top: 50px;
    margin-bottom: 20px;
}

.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;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: nowrap; /* Prevent text wrapping for desktop */
}

.page-fishing-games__btn-primary {
    background-color: #EA7C07; /* Login color for primary action */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

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

.page-fishing-games__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0; /* Brand main color */
    border: 2px solid #26A9E0;
}

.page-fishing-games__btn-secondary:hover {
    background-color: #e0f2f7;
    color: #208cb3;
    border-color: #208cb3;
}

/* Card styling */
.page-fishing-games__card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
    color: #333333; /* Dark text for light card background */
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-fishing-games__hero-content {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    text-align: left;
    margin-right: 40px;
    z-index: 1;
}

.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;
    max-width: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

/* Why Choose Section */
.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-icon {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-fishing-games__feature-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-fishing-games__feature-text {
    font-size: 1em;
    color: #555555;
}

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

.page-fishing-games__game-card {
    background-color: #ffffff;
    color: #333333;
    padding: 0; /* Cards handle their own padding */
    overflow: hidden;
}

.page-fishing-games__game-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-fishing-games__game-card .page-fishing-games__game-title {
    font-size: 1.4em;
    margin: 20px 20px 10px 20px;
    color: #26A9E0;
    line-height: 1.3;
}
.page-fishing-games__game-card .page-fishing-games__game-title a {
    color: #26A9E0;
    text-decoration: none;
}
.page-fishing-games__game-card .page-fishing-games__game-title a:hover {
    text-decoration: underline;
}

.page-fishing-games__game-card .page-fishing-games__game-description {
    font-size: 0.95em;
    color: #555555;
    margin: 0 20px 20px 20px;
    text-align: left;
}