/* style/fishing-games.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Light text for dark body background #121212 */
    background-color: transparent; /* Body background handled by shared.css */
}

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

/* Section styling */
.page-fishing-games__hero-section,
.page-fishing-games__about-section,
.page-fishing-games__games-showcase,
.page-fishing-games__how-to-play,
.page-fishing-games__promotions-section,
.page-fishing-games__features-overview,
.page-fishing-games__faq-section,
.page-fishing-games__cta-section {
    padding: 80px 0;
    text-align: center;
}

/* Color contrast enforcement */
.page-fishing-games__dark-bg {
    background-color: #0A2463; /* Main brand color */
    color: #ffffff;
}

.page-fishing-games__light-bg {
    background-color: #ffffff;
    color: #333333;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 600px;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    background-color: #0A2463; /* Ensure a background even if image is not loaded */
}

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

.page-fishing-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4; /* Slightly dim the background image */
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Auxiliary color for emphasis */
    line-height: 1.2;
}

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

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

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-small,
.page-fishing-games__btn-inline {
    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, transform 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
}

.page-fishing-games__btn-primary {
    background-color: #FFD700; /* Auxiliary color */
    color: #0A2463; /* Main brand color for text */
    border: 2px solid #FFD700;
}

.page-fishing-games__btn-primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: #FFD700;
    color: #0A2463;
    transform: translateY(-3px);
}

.page-fishing-games__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
    background-color: #FFD700;
    color: #0A2463;
    border: none;
    border-radius: 5px;
    margin-top: 15px;
}

.page-fishing-games__btn-small:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-fishing-games__btn-inline {
    padding: 8px 15px;
    font-size: 0.85em;
    background-color: #0A2463;
    color: #ffffff;
    border: 1px solid #FFD700;
    border-radius: 5px;
    margin-top: 10px;
    display: inline-flex; /* Use flex to center content if needed */
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.page-fishing-games__btn-inline:hover {
    background-color: #1a3c7c;
    border-color: #e6c200;
}

/* Section Titles */
.page-fishing-games__section-title {
    font-size: 2.8em;
    margin-bottom: 40px;
    color: inherit; /* Inherit from section for contrast */
    position: relative;
    padding-bottom: 15px;
}

.page-fishing-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700; /* Auxiliary color for underline */
    border-radius: 2px;
}

.page-fishing-games__subtitle {
    font-size: 1.8em;
    margin-top: 50px;
    margin-bottom: 25px;
    color: inherit;
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    line-height: 1.8;
}

/* About Section 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: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    color: #333333; /* Dark text for light background */
}

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

.page-fishing-games__feature-icon {
    width: 200px; /* Enforce min size 200px */
    height: 200px;
    object-fit: contain;
    margin: 0 auto 20px auto;
}

.page-fishing-games__feature-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #0A2463; /* Main brand color */
}

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

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

.page-fishing-games__game-card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark bg */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-fishing-games__game-card-image {
    width: 100%;
    height: 250px; /* Ensure images are larger than 200px */
    object-fit: cover;
    margin-bottom: 20px;
}

.page-fishing-games__game-card-title {
    font-size: 1.6em;
    margin-bottom: 10px;
    color: #FFD700;
    padding: 0 15px;
}

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

/* How-To Play Section */
.page-fishing-games__step-by-step {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
    text-align: left;
}