/* style/fishing-games.css */

/* General Styles */
.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: #FFFFFF; /* Explicitly set for clarity, though body is white */
}

.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 primary color */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

/* Color Contrast Classes */
.page-fishing-games__dark-bg {
    background-color: #017439; /* Primary brand color */
    color: #ffffff; /* White text for dark background */
}

.page-fishing-games__light-bg {
    background-color: #ffffff; /* White background */
    color: #333333; /* Dark text for light background */
}

/* 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;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box; /* Ensure padding is included in width */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow long words to break */
}

.page-fishing-games__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

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

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: #017439; /* Primary brand color */
    border: 2px solid #017439;
}

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

/* Image Styles (Global) */
.page-fishing-games img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    padding: 120px 0 80px; /* Adjusted to assume shared.css handles body padding-top */
    text-align: center;
    overflow: hidden;
}

.page-fishing-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    filter: brightness(0.5); /* Darken background image for text readability */
    border-radius: 0; /* Hero image usually full width, no border-radius */
}

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

.page-fishing-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: bold;
}

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

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

/* Intro Section */
.page-fishing-games__intro-section {
    padding: 80px 0;
}

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

.page-fishing-games__intro-item {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__intro-item-title {
    font-size: 1.8em;
    color: #017439;
    margin-top: 20px;
    margin-bottom: 10px;
}

.page-fishing-games__intro-item p {
    color: #555555;
}

/* Games Section */
.page-fishing-games__games-section {
    padding: 80px 0;
}

.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-card {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark background */
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #ffffff; /* White text for dark background */
}

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

.page-fishing-games__game-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #FFFF00; /* Yellow for game titles on dark background */
}

.page-fishing-games__game-description {
    font-size: 0.95em;
    margin-bottom: 20px;
    color: #f0f0f0;
}

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

.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-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

.page-fishing-games__step-card p {
    color: #555555;
}

.page-fishing-games__cta-container {
    text-align: center;
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Advantages Section */
.page-fishing-games__advantages-section {
    padding: 80px 0;
}

.page-fishing-games__advantage-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__advantage-item {
    background-color: rgba(255, 255, 255, 0.1); /* White with transparency for dark background */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.page-fishing-games__advantage-title {
    font-size: 1.6em;
    color: #FFFF00;
    margin-bottom: 10px;
}

.page-fishing-games__advantage-item p {
    color: #f0f0f0;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 80px 0;
}