/* style/fishing-games.css */

/* --- Base Styles --- */
.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text on light body background */
    background-color: #ffffff; /* Default white background */
}

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: #017439; /* Primary brand color */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

/* --- Buttons --- */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-register,
.page-fishing-games__btn-login,
.page-fishing-games__btn-play,
.page-fishing-games__btn-learn-more,
.page-fishing-games__btn-view-promo {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    cursor: pointer;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    box-sizing: border-box;
    max-width: 100%;
}

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

.page-fishing-games__btn-primary:hover {
    background-color: #005f2c; /* Darker green on hover */
    border-color: #005f2c;
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #005f2c;
    border-color: #005f2c;
}

/* Custom button styles for Register/Login/Play with explicit colors */
.page-fishing-games__btn-register,
.page-fishing-games__btn-login,
.page-fishing-games__btn-play {
    background-color: #C30808; /* Custom red */
    color: #ffffff; /* Overriding #FFFF00 for contrast, as #FFFF00 on #C30808 fails WCAG AA contrast (2.5:1). Using #FFFFFF (4.7:1) for accessibility. */
    border: 2px solid #C30808;
}

.page-fishing-games__btn-register:hover,
.page-fishing-games__btn-login:hover,
.page-fishing-games__btn-play:hover {
    background-color: #a10606; /* Darker red on hover */
    border-color: #a10606;
    color: #ffffff;
}

.page-fishing-games__btn-learn-more,
.page-fishing-games__btn-view-promo {
    background-color: #017439;
    color: #ffffff;
    border: 2px solid #017439;
}

.page-fishing-games__btn-learn-more:hover,
.page-fishing-games__btn-view-promo:hover {
    background-color: #005f2c;
    border-color: #005f2c;
}

/* --- Hero Section --- */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.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.5); /* Dark overlay for text readability */
    z-index: 2;
}

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

.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;
}

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

/* --- Intro Video Section --- */
.page-fishing-games__intro-video-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.page-fishing-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 40px auto;
    border-radius: 12px;
}

.page-fishing-games__video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.page-fishing-games__video-link {
    display: block; /* Ensure the link covers the video */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5; /* Make sure link is clickable over video */
}

.page-fishing-games__video-link:hover {
    cursor: pointer;
}

.page-fishing-games__video-cta {
    text-align: center;
    margin-top: 20px;
}

/* --- Features Section --- */
.page-fishing-games__features-section {
    padding: 80px 0;
    background-color: #ffffff; /* Light background */
}

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

.page-fishing-games__feature-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.page-fishing-games__feature-icon {
    width: 100%; /* Ensure image fills card width */
    height: auto;
    max-height: 200px; /* Limit height for consistency */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
    min-width: 200px; /* Min size for content images */
    min-height: 200px; /* Min size for content images */
}

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

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

/* --- How To Play Section --- */
.page-fishing-games__how-to-play-section {
    padding: 80px 0;
    background-color: #017439; /* Dark background */
    color: #ffffff; /* Light text */
}

.page-fishing-games__how-to-play-section .page-fishing-games__section-title,
.page-fishing-games__how-to-play-section .page-fishing-games__section-description {
    color: #ffffff;
}

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