/* style/fishing-games.css */

/* Custom Colors */
:root {
    --page-fishing-games-background-color: #08160F;
    --page-fishing-games-card-bg: #11271B;
    --page-fishing-games-text-main: #F2FFF6;
    --page-fishing-games-text-secondary: #A7D9B8;
    --page-fishing-games-border-color: #2E7A4E;
    --page-fishing-games-glow-color: #57E38D;
    --page-fishing-games-gold-color: #F2C14E;
    --page-fishing-games-divider-color: #1E3A2A;
    --page-fishing-games-deep-green: #0A4B2C;
    --page-fishing-games-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-fishing-games {
    background-color: var(--page-fishing-games-background-color); /* Dark background */
    color: var(--page-fishing-games-text-main); /* Light text for contrast */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: var(--page-fishing-games-deep-green);
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-fishing-games__hero-content-wrapper {
    width: 100%;
    background-color: var(--page-fishing-games-deep-green);
    padding: 40px 0;
    text-align: center;
}

.page-fishing-games__hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-fishing-games__hero-title {
    color: var(--page-fishing-games-text-main);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-fishing-games__hero-description {
    color: var(--page-fishing-games-text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

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

.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.1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    border: none;
    text-align: center;
    box-sizing: border-box;
}

.page-fishing-games__btn-primary {
    background: var(--page-fishing-games-button-gradient);
    color: var(--page-fishing-games-text-main);
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-fishing-games__btn-secondary {
    background: transparent;
    color: var(--page-fishing-games-glow-color);
    border: 2px solid var(--page-fishing-games-glow-color);
}

.page-fishing-games__btn-secondary:hover {
    background-color: var(--page-fishing-games-glow-color);
    color: var(--page-fishing-games-background-color);
}

.page-fishing-games__section-title {
    color: var(--page-fishing-games-text-main);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-fishing-games__section-description {
    color: var(--page-fishing-games-text-secondary);
    text-align: center;
    font-size: 1rem;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__intro-section,
.page-fishing-games__tips-section,
.page-fishing-games__video-section,
.page-fishing-games__contact-cta-section {
    padding: 80px 0;
    background-color: var(--page-fishing-games-background-color);
}

.page-fishing-games__games-showcase-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section {
    padding: 80px 0;
    background-color: var(--page-fishing-games-card-bg);
}

.page-fishing-games__dark-section {
    background-color: var(--page-fishing-games-deep-green);
    color: var(--page-fishing-games-text-main);
}

.page-fishing-games__light-bg {
    background-color: var(--page-fishing-games-card-bg);
    color: var(--page-fishing-games-text-main);
}

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

.page-fishing-games__game-card,
.page-fishing-games__promo-card {
    background-color: var(--page-fishing-games-background-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding-bottom: 20px;
    border: 1px solid var(--page-fishing-games-border-color);
}

.page-fishing-games__game-image,
.page-fishing-games__promo-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.page-fishing-games__game-title,
.page-fishing-games__promo-title {
    color: var(--page-fishing-games-gold-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-fishing-games__game-description,
.page-fishing-games__promo-description {
    color: var(--page-fishing-games-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    padding: 0 15px;
}

.page-fishing-games__btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
    white-space: normal; /* Allow text wrapping for small buttons */
}

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

.page-fishing-games__tip-item {
    background-color: var(--page-fishing-games-card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--page-fishing-games-border-color);
}

.page-fishing-games__tip-title {
    color: var(--page-fishing-games-gold-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-align: left;
}

.page-fishing-games__tip-text {
    color: var(--page-fishing-games-text-secondary);
    font-size: 1rem;
    text-align: left;
}

.page-fishing-games__centered-cta {
    text-align: center;
    margin-top: 50px;
}

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

.page-fishing-games__mobile-experience-section {
    padding: 80px 0;
}

.page-fishing-games__mobile-flex-container {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.page-fishing-games__mobile-content {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.page-fishing-games__mobile-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-fishing-games__mobile-image {
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    display: block; /* Ensure it behaves as a block element */
    margin: 0 auto; /* Center the image in its wrapper */
}

.page-fishing-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background-color: var(--page-fishing-games-background-color);
    border-radius: 12px;
    margin-top: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    width: 100%; /* Desktop width */
    max-width: 1200px; /* Desktop max width */
}

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

.page-fishing-games__video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

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

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

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    color: var(--page-fishing-games-gold-color);
    font-weight: bold;
    font-size: 1.1rem;
    background-color: var(--page-fishing-games-deep-green);
    border-bottom: 1px solid var(--page-fishing-games-divider-color);
}

.page-fishing-games__faq-question::-webkit-details-marker {
    display: none;
}

.page-fishing-games__faq-question::marker {
    display: none;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-fishing-games__faq-answer {
    padding: 15px 20px;
    color: var(--page-fishing-games-text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-content {
        max-width: 700px;
    }

    .page-fishing-games__mobile-flex-container {
        flex-direction: column;
        text-align: center;
    }

    .page-fishing-games__mobile-content {
        text-align: center;
    }

    .page-fishing-games__mobile-image {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section,
    .page-fishing-games__intro-section,
    .page-fishing-games__games-showcase-section,
    .page-fishing-games__tips-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__mobile-experience-section,
    .page-fishing-games__video-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__contact-cta-section {
        padding: 40px 0;
    }

    .page-fishing-games__hero-content {
        padding: 0 15px;
    }

    .page-fishing-games__hero-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .page-fishing-games__hero-description {
        font-size: 1rem;
    }

    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .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__btn-large {
        padding: 15px 25px;
        font-size: 1.1rem;
    }

    .page-fishing-games__section-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
        padding: 0 15px;
    }

    .page-fishing-games__section-description {
        font-size: 0.95rem;
        padding: 0 15px;
    }

    .page-fishing-games__game-grid,
    .page-fishing-games__promo-grid,
    .page-fishing-games__tips-list {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .page-fishing-games__game-image,
    .page-fishing-games__promo-image {
        height: 200px;
    }

    .page-fishing-games__mobile-flex-container {
        padding: 0 15px;
    }

    .page-fishing-games__mobile-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-fishing-games__video-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    .page-fishing-games__video-wrapper {
        padding-bottom: 75%; /* 4:3 Aspect Ratio for mobile */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding: 0 15px;
    }

    .page-fishing-games__video-container {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-fishing-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-fishing-games__faq-list {
        padding: 0 15px;
    }

    .page-fishing-games__faq-question {
        font-size: 1rem;
        padding: 15px;
    }

    .page-fishing-games__faq-answer {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    /* Ensure all images are responsive */
    .page-fishing-games img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* All containers that might hold images or other content */
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__mobile-image-wrapper,
    .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;
        /* Add padding to prevent content touching edges, if not already handled by inner elements */
        /* padding-left: 15px; padding-right: 15px; */
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-section {
        padding-top: 5px;
    }

    .page-fishing-games__hero-title {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
    }

    .page-fishing-games__btn-large {
        padding: 12px 20px;
        font-size: 1rem;
    }

    .page-fishing-games__video-wrapper {
        padding-bottom: 100%; /* 1:1 Aspect Ratio for very small screens if needed */
    }
}