/* style/fishing-games.css */
.page-fishing-games {
    color: #ffffff; /* Body background is dark (#0a0a0a), so text is light */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

.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.6);
    z-index: 2;
}

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

.page-fishing-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFFF00; /* Custom font color for titles */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.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: #e02020;
    border-color: #e02020;
}

.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: #0a0a0a;
}

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: #FFFF00; /* Custom font color for titles */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.8;
}

.page-fishing-games__link {
    color: #FFFF00;
    text-decoration: underline;
}

.page-fishing-games__link:hover {
    color: #017439;
}

/* Section specific styles */
.page-fishing-games__intro-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__tips-section,
.page-fishing-games__faq-section {
    background-color: #0a0a0a; /* Dark background */
    color: #ffffff; /* Light text */
}

.page-fishing-games__features-section,
.page-fishing-games__promotions-section,
.page-fishing-games__video-section,
.page-fishing-games__cta-final-section {
    background-color: #017439; /* Brand primary color background */
    color: #ffffff; /* Light text */
}

.page-fishing-games__content-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Min size for content images */
    min-height: 200px;
}

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

.page-fishing-games__feature-card,
.page-fishing-games__promo-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards on dark background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 300px; /* Ensure cards have some height */
}

.page-fishing-games__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #FFFF00; /* Custom font color for titles */
}

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

.page-fishing-games__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Min size for promo images */
    min-height: 200px;
}

/* How-to Play Steps */
.page-fishing-games__steps-list,
.page-fishing-games__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-fishing-games__step-item,
.page-fishing-games__tip-item {
    background-color: rgba(255, 255, 255, 0.05); /* Lighter background for list items on dark */
    padding: 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    border-left: 5px solid #017439;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__step-title,
.page-fishing-games__tip-title {
    font-size: 1.4em;
    color: #FFFF00; /* Custom font color for titles */
    margin-bottom: 10px;
}

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

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

/* Video Section */
.page-fishing-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
}

.page-fishing-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* FAQ Section */
.page-fishing-games__faq-list {
    margin-top: 30px;
}

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #017439; /* Brand color for question background */
    color: #FFFF00; /* Custom font color for titles */
    font-weight: bold;
    transition: background-color 0.3s ease;
}

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

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

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    transform: rotate(45deg);
}

.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: rgba(255, 255, 255, 0.02);
    color: #f0f0f0;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 1000px !important; /* Important for JS functionality */
    padding: 15px 25px;
}

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


/* Responsive Design */
@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 {
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-fishing-games__hero-title {
        font-size: 2.2em;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
    }
    .page-fishing-games__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-fishing-games__section-title {
        font-size: 1.8em;
    }
    .page-fishing-games__paragraph,
    .page-fishing-games__card-description,
    .page-fishing-games__step-description,
    .page-fishing-games__tip-description {
        font-size: 0.95em;
    }

    .page-fishing-games__features-grid,
    .page-fishing-games__promo-grid {
        grid-template-columns: 1fr;
    }

    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: unset; /* Remove min-width on mobile to allow shrinking */
        min-height: unset;
    }

    .page-fishing-games video,
    .page-fishing-games__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-fishing-games__video-section,
    .page-fishing-games__video-container,
    .page-fishing-games__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
    
    .page-fishing-games__cta-button,
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games a[class*="button"],
    .page-fishing-games a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-fishing-games__cta-buttons,
    .page-fishing-games__button-group,
    .page-fishing-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-fishing-games__cta-buttons {
        display: flex;
        flex-direction: column;
    }

    .page-fishing-games__container {
        padding: 20px 15px;
    }
    .page-fishing-games__faq-question {
        padding: 15px 20px;
    }
    .page-fishing-games__faq-answer {
        padding: 0 20px;
    }
    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 15px 20px;
    }
}

/* Ensure content area images maintain min-size on desktop */
.page-fishing-games__intro-section .page-fishing-games__content-image,
.page-fishing-games__features-section .page-fishing-games__content-image {
    min-width: 400px; /* Example, adjust as needed */
    min-height: 300px; /* Example, adjust as needed */
}

/* Color contrast enforcement */
.page-fishing-games__dark-bg {
  color: #ffffff; /* Deep dark background requires light text */
}

.page-fishing-games__light-bg {
  color: #ffffff; /* This is actually a dark background #0a0a0a, so light text */
}

/* Override custom colors for specific elements for contrast on dark body background */
.page-fishing-games__section-title,
.page-fishing-games__card-title,
.page-fishing-games__step-title,
.page-fishing-games__tip-title,
.page-fishing-games__faq-title {
  color: #FFFF00; /* Use custom yellow for titles on dark backgrounds */
}

.page-fishing-games__link {
  color: #FFFF00;
}

.page-fishing-games__link:hover {
  color: #017439;
}

.page-fishing-games__paragraph {
  color: #f0f0f0; /* Slightly off-white for paragraphs */
}

.page-fishing-games__feature-card,
.page-fishing-games__promo-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
  color: #ffffff;
}

.page-fishing-games__faq-question {
  background-color: #017439; /* Brand green for FAQ question background */
  color: #FFFF00; /* Yellow for FAQ question text */
}

.page-fishing-games__faq-answer {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter on dark background */
  color: #f0f0f0;
}