/* style/fishing-games.css */

/* Base Styles for the page-fishing-games scope */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #1a1a1a; /* Ensure consistency with body 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: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

/* 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;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Ensure responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.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: #FFFF00; /* Custom font color for Register/Login */
    border: 2px solid #C30808; /* Custom border color for Register/Login */
}

.page-fishing-games__btn-secondary:hover {
    background-color: #C30808;
    color: #FFFF00;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    background: linear-gradient(135deg, #017439, #005a2e); /* Brand color gradient */
    overflow: hidden;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    color: #ffffff;
}

.page-fishing-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-fishing-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    line-height: 1.5;
}

.page-fishing-games__hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.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; /* Subtle background image */
}

/* Introduction Section */
.page-fishing-games__introduction {
    padding: 80px 0;
    background-color: #1a1a1a; /* Dark background */
    color: #ffffff;
}

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

.page-fishing-games__feature-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    color: #ffffff;
}

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

.page-fishing-games__feature-icon {
    width: 100%; /* Ensure images are responsive within card */
    height: auto;
    max-width: 200px; /* Control icon size */
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

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

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

/* Game Showcase Section */
.page-fishing-games__game-showcase {
    padding: 80px 0;
    background-color: #0a0a0a; /* Even darker background */
    color: #ffffff;
}

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

.page-fishing-games__game-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
    color: #ffffff;
}

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

.page-fishing-games__game-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__game-title {
    font-size: 1.4em;
    margin: 20px 15px 10px 15px;
    color: #ffffff;
}

.page-fishing-games__game-title a.page-fishing-games__game-link {
    color: #ffffff;
    text-decoration: none;
}

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

.page-fishing-games__game-description {
    font-size: 0.95em;
    color: #f0f0f0;
    padding: 0 15px 20px 15px;
}

.page-fishing-games__game-button {
    margin-bottom: 20px;
}

/* How to Play Section */
.page-fishing-games__how-to-play {
    padding: 80px 0;
    background-color: #2a2a2a; /* Lighter dark background to avoid pure white */
    color: #ffffff;
}

.page-fishing-games__how-to-play .page-fishing-games__section-description,
.page-fishing-games__how-to-play .page-fishing-games__step-text {
    color: #e0e0e0;
}