/* style/fishing-games.css */

/* Base styles for the page content */
.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #ffffff; /* Explicitly set for content area if body is unknown/default light */
    overflow-x: hidden; /* Prevent horizontal scroll on desktop too */
}

/* Header offset for the main content or first section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    min-height: 600px; /* Ensure hero section has a decent height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}

.page-fishing-games__hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    background-size: cover;
    filter: brightness(0.7); /* Darken video for text readability */
}

.page-fishing-games__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text contrast */
    z-index: 1;
}

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

.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.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

/* General section styling */
.page-fishing-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: #333333;
}

.page-fishing-games__text-center {
    text-align: center;
}

/* Button styles */
.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; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    max-width: 100%; /* Ensure buttons don't overflow */
}

.page-fishing-games__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

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

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

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

.page-fishing-games__btn-download {
    background-color: #EA7C07; /* Login color for download button */
    border-color: #EA7C07;
}

.page-fishing-games__btn-download:hover {
    background-color: #c96706;
    border-color: #c96706;
}

.page-fishing-games__btn-large {
    font-size: 1.2em;
    padding: 18px 35px;
}

/* Section specific styling */
.page-fishing-games__intro-section,
.page-fishing-games__games-showcase,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section {
    padding: 60px 0;
    background-color: #ffffff; /* Light background */
    color: #333333;
}

.page-fishing-games__dark-bg {
    padding: 60px 0;
    background-color: #26A9E0; /* Brand color as dark background */
    color: #ffffff;
}

.page-fishing-games__dark-bg .page-fishing-games__section-title,
.page-fishing-games__dark-bg .page-fishing-games__text-block,
.page-fishing-games__dark-bg .page-fishing-games__feature-title,
.page-fishing-games__dark-bg .page-fishing-games__feature-description,
.page-fishing-games__dark-bg .page-fishing-games__step-title,
.page-fishing-games__dark-bg .page-fishing-games__step-description,
.page-fishing-games__dark-bg .page-fishing-games__download-benefits li,
.page-fishing-games__dark-bg .page-fishing-games__small-text {
    color: #ffffff;
}

.page-fishing-games__dark-bg .page-fishing-games__text-block a,
.page-fishing-games__dark-bg .page-fishing-games__step-description a {
    color: #f0f0f0; /* Lighter link for dark background */
    text-decoration: underline;
}

.page-fishing-games__image-wrapper {
    text-align: center;
    margin: 30px 0;
}

.page-fishing-games__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-fishing-games__feature-item {
    background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white for dark bg */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

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

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

.page-fishing-games__game-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
}

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

.page-fishing-games__game-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #26A9E0;
    padding: 0 15px;
}

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

.page-fishing-games__game-title a:hover {
    text-decoration: underline;
}

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

/* How to play section */
.page-fishing-games__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-fishing-games__step-item {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__step-title {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-fishing-games__step-description {
    font-size: 1em;
    color: #f0f0f0;
}

.page-fishing-games__cta-bottom {
    text-align: center;
    margin-top: 40px;
}

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

.page-fishing-games__promo-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
}

.page-fishing-games__promo-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.page-fishing-games__promo-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #26A9E0;
    padding: 0 15px;
}

.page-fishing-games__promo-title a {
    color: #26A9E0;
    text-decoration: none;
}

.page-fishing-games__promo-title a:hover {
    text-decoration: underline;
}

.page-fishing-games__promo-description {
    font-size: 1em;
    color: #555555;
    padding: 0 15px 20px;
}

/* Download section */
.page-fishing-games__download-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
}

.page-fishing-games__download-text {
    flex: 1;
    text-align: left;
}

.page-fishing-games__download-benefits {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    margin-bottom: 30px;
}

.page-fishing-games__download-benefits li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-fishing-games__download-benefits li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #ffffff;
    font-size: 1.2em;
}

.page-fishing-games__small-text {
    font-size: 0.9em;
    margin-top: 15px;
    color: #f0f0f0;
}

.page-fishing-games__download-image-wrapper {
    flex: 0 0 350px; /* Fixed width for image on desktop */
    text-align: center;
}

.page-fishing-games__download-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

/* FAQ section */
.page-fishing-games__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__faq-item.active {
    background-color: #eaf6fc; /* Lighter background when active */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: bold;
    color: #333333;
    transition: color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    color: #26A9E0;
}

.page-fishing-games__faq-title {
    font-size: 1.2em;
    margin: 0;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #26A9E0;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    transform: rotate(45deg); /* Plus sign rotates to a cross */
}

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
}