/* style/fishing-games.css */

/* Variables based on provided color scheme */
:root {
    --primary-color: #113B7A;
    --secondary-color: #1D5FD1;
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --card-bg: #10233F;
    --text-main: #F3F8FF;
    --text-secondary: #AFC4E8;
    --border-color: #244D84;
    --glow-color: #4FA8FF;
    --gold-color: #F2C14E;
    --divider-color: #1B3357;
    --deep-navy-color: #08162B; /* Body background from shared.css */
}

/* Base styles for the page content, assuming body has a dark background */
.page-fishing-games {
    font-family: Arial, sans-serif;
    color: var(--text-main); /* Light text on dark body background */
    background-color: var(--deep-navy-color); /* Ensure consistency if body bg isn't fully covering */
    line-height: 1.6;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image then text */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as body handles --header-offset */
    overflow: hidden;
    background-color: var(--primary-color); /* Fallback/base color */
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px; /* Space between image and text */
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-content {
    max-width: 900px;
    z-index: 1; /* Ensure text is above any potential background elements */
    color: var(--text-main); /* Light text */
}

.page-fishing-games__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive H1 font size */
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-fishing-games__intro-text {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* General Section Styles */
.page-fishing-games__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    font-weight: bold;
}

.page-fishing-games__content-area {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.page-fishing-games__text-block p {
    margin-bottom: 1em;
}

.page-fishing-games__text-block a {
    color: var(--glow-color); /* Use glow color for links */
    text-decoration: underline;
}

/* Dark Sections */
.page-fishing-games__dark-section {
    background-color: var(--primary-color);
    color: var(--text-main);
    padding: 60px 0;
}
.page-fishing-games__dark-section .page-fishing-games__section-title {
    color: var(--gold-color);
}
.page-fishing-games__dark-section .page-fishing-games__content-area {
    color: var(--text-secondary);
}
.page-fishing-games__dark-section .page-fishing-games__text-block a {
    color: var(--glow-color);
}


/* Buttons */
.page-fishing-games__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.page-fishing-games__cta-buttons--center {
    justify-content: center;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    min-width: 180px;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    text-align: center;
}

.page-fishing-games__btn-primary {
    background: var(--button-gradient);
    color: #ffffff; /* Button text always white */
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-primary:hover {
    background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__btn-secondary {
    background: transparent;
    color: var(--glow-color);
    border: 2px solid var(--glow-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__btn-secondary:hover {
    background: var(--glow-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.page-fishing-games__features-section {
    padding: 60px 0;
    background-color: var(--deep-navy-color); /* Consistent with body */
}

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

.page-fishing-games__feature-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
    color: var(--text-main); /* Light text on dark card background */
}

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

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

.page-fishing-games__card-title {
    font-size: 1.4rem;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-fishing-games__feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}
.page-fishing-games__feature-card p a {
    color: var(--glow-color);
    text-decoration: underline;
}

/* Strategy Section */
.page-fishing-games__strategy-list {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.page-fishing-games__strategy-list li {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: var(--text-main);
}

.page-fishing-games__strategy-list li strong {
    color: var(--gold-color);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 5px;
}
.page-fishing-games__strategy-list li a {
    color: var(--glow-color);
    text-decoration: underline;
}

/* Video Section */
.page-fishing-games__gameplay-video {
    padding: 60px 0;
    background-color: var(--deep-navy-color);
}

.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;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
    cursor: pointer; /* Indicate clickable */
}

.page-fishing-games__video-wrapper .page-fishing-games__video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block; /* Make the link cover the video */
    text-decoration: none; /* Hide underline */
}

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

.page-fishing-games__video-description {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 30px;
}
.page-fishing-games__video-description a {
    color: var(--glow-color);
    text-decoration: underline;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 60px 0;
    background-color: var(--primary-color);
}

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

.page-fishing-games__promo-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Push button to bottom */
}

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

.page-fishing-games__promo-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-fishing-games__promo-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    flex-grow: 1; /* Allow paragraph to take available space */
    margin-bottom: 20px; /* Space before button */
}
.page-fishing-games__promo-card p a {
    color: var(--glow-color);
    text-decoration: underline;
}

.page-fishing-games__promo-card .page-fishing-games__btn-secondary {
    margin-top: auto; /* Align button to bottom */
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 60px 0;
    background-color: var(--deep-navy-color);
}

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

.page-fishing-games__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    color: var(--text-main);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--gold-color);
    cursor: pointer;
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--divider-color); /* Divider for question */
}

.page-fishing-games__faq-question a {
    color: var(--glow-color);
    text-decoration: underline;
}

.page-fishing-games__faq-question::marker {
    display: none; /* Hide default marker for details summary */
}

.page-fishing-games__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit */
}

.page-fishing-games__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--glow-color);
}

.page-fishing-games__faq-answer {
    padding: 0 20px 20px;
    font-size: 1rem;
    color: var(--text-secondary);
}
.page-fishing-games__faq-answer p {
    margin-top: 15px;
}
.page-fishing-games__faq-answer a {
    color: var(--glow-color);
    text-decoration: underline;
}

/* Final CTA Section */
.page-fishing-games__cta-final-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    text-align: center;
}

.page-fishing-games__cta-final-section .page-fishing-games__card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-main);
}

.page-fishing-games__cta-final-section .page-fishing-games__section-title {
    color: var(--gold-color);
    margin-bottom: 20px;
    padding-top: 0;
}
.page-fishing-games__cta-final-section .page-fishing-games__intro-text {
    color: var(--text-secondary);
    margin-bottom: 30px;
}
.page-fishing-games__cta-final-section .page-fishing-games__intro-text a {
    color: var(--glow-color);
    text-decoration: underline;
}


/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-section {
        padding: 40px 20px;
        padding-top: 10px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .page-fishing-games__section-title {
        font-size: clamp(1.6rem, 4vw, 2.5rem);
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding: 30px 15px;
        padding-top: 10px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-fishing-games__intro-text {
        font-size: clamp(0.9rem, 2vw, 1.1rem);
    }
    .page-fishing-games__section-title {
        font-size: clamp(1.4rem, 5vw, 2.2rem);
        margin-bottom: 30px;
        padding-top: 30px;
    }

    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        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;
        min-width: unset;
    }

    /* Mobile image responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__features-grid,
    .page-fishing-games__promotions-grid,
    .page-fishing-games__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    /* Video mobile responsiveness */
    .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__video-section {
        padding-top: 10px !important;
    }

    .page-fishing-games__features-grid,
    .page-fishing-games__promotions-grid {
        grid-template-columns: 1fr;
    }
    .page-fishing-games__feature-card,
    .page-fishing-games__promo-card {
        padding: 20px;
    }
    .page-fishing-games__faq-question {
        font-size: 1rem;
    }
    .page-fishing-games__faq-answer {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__main-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }
    .page-fishing-games__section-title {
        font-size: clamp(1.2rem, 6vw, 1.8rem);
    }
    .page-fishing-games__hero-section,
    .page-fishing-games__dark-section,
    .page-fishing-games__features-section,
    .page-fishing-games__strategy-section,
    .page-fishing-games__gameplay-video,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-final-section {
        padding: 30px 0;
    }
}

/* Ensure content area images are not too small */
.page-fishing-games__feature-icon,
.page-fishing-games__promo-image {
    min-width: 200px;
    min-height: 200px;
}
@media (max-width: 768px) {
  .page-fishing-games__feature-icon,
  .page-fishing-games__promo-image {
    min-width: unset !important;
    min-height: unset !important;
  }
}