/* style/fishing-games.css */

/* Base styles for the fishing games page */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light body background */
    background-color: #FFFFFF; /* Ensures consistency with body background */
}

/* Fixed header offset */
.page-fishing-games__hero-section {
    padding-top: var(--header-offset, 120px); /* Apply header offset to the first main section */
}

/* Sections */
.page-fishing-games__section {
    padding: 60px 20px;
    text-align: center;
    overflow-x: hidden; /* Prevent horizontal scroll for the section itself */
}

.page-fishing-games__dark-bg {
    background-color: #017439; /* Main brand color */
    color: #ffffff;
}

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

.page-fishing-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Inner padding for containers */
    box-sizing: border-box;
}

.page-fishing-games__section-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: inherit; /* Inherit color from section (dark-bg or light-bg) */
    font-weight: bold;
}

.page-fishing-games__section-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: inherit; /* Inherit color from section */
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 600px; /* Minimum height for hero */
    color: #ffffff;
    overflow: hidden; /* Ensure video doesn't overflow */
}

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

.page-fishing-games__hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken video for text readability, not changing color */
    display: block;
}

.page-fishing-games__hero-video-wrapper .page-fishing-games__video-link {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
    margin: 0 15px; /* Ensure content has some margin on small screens */
}

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

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

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

/* 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;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

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

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

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

/* Image and Text Block */
.page-fishing-games__image-text-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-fishing-games__image-full-width {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: block; /* Ensure it behaves as a block element */
    /* No CSS filter allowed here */
}

.page-fishing-games__text-block-content {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto;
    color: inherit;
}

/* Game Cards */
.page-fishing-games__game-cards,
.page-fishing-games__promo-grid,
.page-fishing-games__security-features,
.page-fishing-games__strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-fishing-games__card,
.page-fishing-games__promo-card {
    background-color: #ffffff;
    color: #333333;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.page-fishing-games__card-image,
.page-fishing-games__promo-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure it behaves as a block element */
    /* No CSS filter allowed here */
}

.page-fishing-games__card-title,
.page-fishing-games__promo-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #017439; /* Brand color for titles */
}

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

/* Guide Steps */
.page-fishing-games__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
    text-align: left;
}

.page-fishing-games__guide-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

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

.page-fishing-games__list {
    list-style: disc inside;
    margin-bottom: 20px;
    padding-left: 0;
    color: #333333;
}

.page-fishing-games__list li {
    margin-bottom: 8px;
    font-size: 1em;
}

/* Security Features */
.page-fishing-games__security-item {
    background-color: #ffffff;
    color: #333333;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-fishing-games__security-icon {
    width: 200px; /* Adjusted to meet minimum size requirement */
    height: 200px; /* Adjusted to meet minimum size requirement */
    margin-bottom: 20px;
    display: block; /* Ensure it behaves as a block element */
    /* No CSS filter allowed here */
}

.page-fishing-games__security-title {
    font-size: 1.5em;
    font-weight: bold;
    color: #017439;
    margin-bottom: 10px;
}

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

/* FAQ Section */
.page-fishing-games__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-fishing-games__faq-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #017439;
    cursor: pointer;
    background-color: #e6f7ed; /* Lighter shade of brand green */
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    background-color: #d1eedb;
}

.page-fishing-games__faq-qtext {
    flex-grow: 1;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #017439;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    content: "−"; /* Changed by JS */
}

.page-fishing-games__faq-answer {
    padding: 15px 25px 20px 25px;
    font-size: 1em;
    color: #333333;
    border-top: 1px solid #e0e0e0;
    background-color: #ffffff;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.page-fishing-games__faq-answer p {
    margin: 0;
}

/* Call to Action Section */
.page-fishing-games__cta-section {
    padding: 80px 20px;
}

.page-fishing-games__cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 3em;
    }
    .page-fishing-games__hero-description {
        font-size: 1.2em;
    }
}