/* 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: #ffffff; /* Light text for dark body background #0a0a0a */
    background-color: transparent; /* Body background handled by shared.css */
}

/* Header offset for fixed header */
.page-fishing-games__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    background-color: #1A2B4C; /* Primary brand color for hero */
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden; /* Prevent image overflow */
}

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

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

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

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

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

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

.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;
    box-sizing: border-box; /* Crucial for button responsiveness */
    max-width: 100%; /* Ensure button doesn't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-fishing-games__btn-primary {
    background-color: #FFD700; /* Auxiliary color for primary button */
    color: #1A2B4C; /* Primary color for text on auxiliary button */
    border: 2px solid #FFD700;
}

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

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

.page-fishing-games__btn-secondary:hover {
    background-color: #FFD700;
    color: #1A2B4C;
}

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

.page-fishing-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Darken the background image for text readability */
    filter: brightness(0.7); /* Further darken the image without changing color */
}

/* Intro Section */
.page-fishing-games__intro-section {
    padding: 80px 0;
    background-color: #1A2B4C; /* Dark background for text */
    color: #ffffff;
}

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

/* Game Showcase Section */
.page-fishing-games__game-showcase {
    padding: 80px 0;
    background-color: #0a0a0a; /* Dark body background */
    color: #ffffff;
}

.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: rgba(255, 255, 255, 0.08); /* Slightly lighter dark background */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 450px; /* Ensure cards have a minimum height */
    color: #ffffff; /* Light text on card background */
}

.page-fishing-games__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistent card images */
    object-fit: cover;
    margin-bottom: 15px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.page-fishing-games__card-title {
    font-size: 1.5em;
    color: #FFD700; /* Auxiliary color for card titles */
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-fishing-games__card-title a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-fishing-games__card-title a:hover {
    color: #ffffff;
}

.page-fishing-games__card-description {
    font-size: 1em;
    color: #e0e0e0;
    margin-bottom: 20px;
    padding: 0 15px;
    flex-grow: 1; /* Allow description to take available space */
}

.page-fishing-games__card-button {
    margin-top: auto; /* Push button to the bottom */
    width: calc(100% - 30px); /* Full width minus padding */
    margin-left: 15px;
    margin-right: 15px;
}

/* How to Play Section */
.page-fishing-games__how-to-play {
    padding: 80px 0;
    background-color: #f8f9fa; /* Light background */
    color: #333333; /* Dark text on light background */
}

.page-fishing-games__how-to-play .page-fishing-games__section-title {
    color: #1A2B4C; /* Primary color for title on light background */
}

.page-fishing-games__how-to-play .page-fishing-games__text-block {
    color: #333333;
}

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

.page-fishing-games__step-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 380px; /* Ensure consistent height */
    color: #333333; /* Dark text on light card background */
}

.page-fishing-games__step-title {
    font-size: 1.8em;
    color: #1A2B4C; /* Primary color for step titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-fishing-games__step-card p {
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 80px 0;
    background-color: #1A2B4C; /* Dark background */
    color: #ffffff;
}

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

.page-fishing-games__promo-card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter dark background */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 450px; /* Consistent height for promo cards */
    color: #ffffff; /* Light text on card background */
}

.page-fishing-games__promo-card .page-fishing-games__card-image {
    height: 200px; /* Fixed height for consistent images */
}

/* Benefits Section */
.page-fishing-games__benefits-section {
    padding: 80px 0;
    background-color: #f8f9fa; /* Light background */
    color: #333333; /* Dark text on light background */
}

.page-fishing-games__benefits-section .page-fishing-games__section-title {
    color: #1A2B4C;
}

.page-fishing-games__benefits-section .page-fishing-games__text-block {
    color: #333333;
}

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

.page-fishing-games__benefit-item {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    color: #333333;
}

.page-fishing-games__benefit-title {
    font-size: 1.5em;
    color: #1A2B4C;
    margin-bottom: 15px;
    font-weight: bold;
}

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

/* Video Section */
.page-fishing-games__video-section {
    padding: 80px 0;
    background-color: #0a0a0a; /* Dark body background */
    color: #ffffff;
    text-align: center;
}

.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 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block; /* Ensure it behaves as a block element */
    cursor: pointer; /* Indicate clickable video */
}

.page-fishing-games__video-cta {
    margin-top: 30px;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 80px 0;
    background-color: #f8f9fa; /* Light background */
    color: #333333; /* Dark text on light background */
}

.page-fishing-games__faq-section .page-fishing-games__section-title {
    color: #1A2B4C;
}

.page-fishing-games__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.page-fishing-games__faq-item {
    background-color: #ffffff;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-title {
    font-size: 1.2em;
    color: #1A2B4C;
    margin: 0;
    font-weight: bold;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    color: #FFD700;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    transform: rotate(45deg); /* Plus to Minus visual effect */
    content: '−'; /* Change to minus sign */
}

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

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 1000px !important; /* Ensure it expands sufficiently */
    padding: 15px 25px 25px;
}

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

/* Dark background sections */
.page-fishing-games__dark-section {
    background-color: #1A2B4C;
    color: #ffffff;
}

.page-fishing-games__dark-section .page-fishing-games__section-title {
    color: #FFD700;
}

/* Light background sections */
.page-fishing-games__light-bg {
    background-color: #f8f9fa;
    color: #333333;
}

.page-fishing-games__light-bg .page-fishing-games__section-title {
    color: #1A2B4C;
}

/* Global image styles */
.page-fishing-games img {
    max-width: 100%;
    height: auto;
    display: block; /* Prevent extra space below images */
    object-fit: cover; /* Default object-fit */
}

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

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__hero-title {
        font-size: 2.2em;
    }
}